Changeset 10935 for main


Ignore:
Timestamp:
16 Jan 2014, 10:23:22 (11 years ago)
Author:
uli
Message:

Make themed debug config work (paster-wise).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/etc/themed/debug.ini.in

    r10913 r10935  
    11# debug.ini
    22#
    3 # Debugging configuration for use with paster/WSGI
     3# Debugging configuration for use with paster/WSGI and diazo
    44#
    55
     
    7373logger_name = wsgi
    7474
    75 [filter-app:main]
     75[filter:debugger]
    7676# Change the last part from 'ajax' to 'pdb' for a post-mortem debugger
    7777# on the console:
    7878use = egg:z3c.evalexception#ajax
    79 next = zope
    8079
    8180[app:zope]
    8281use = egg:${kofa_params:devel_pkg}#debug
    83 filter-with = translogger
    8482exempt-exceptions = zope.security.interfaces.IUnauthorized
     83
     84[app:bootstrap]
     85use = egg:Paste#static
     86document_root = ${buildout:directory}/src/bootstrap/dist/
     87
     88[app:static]
     89use = egg:Paste#static
     90document_root = %(LAYOUT_DIR)s/static/
     91
     92[composite:main]
     93use = egg:Paste#urlmap
     94/static/bootstrap = bootstrap
     95/static/static = static
     96/ = default
     97
     98[filter:theme]
     99use = egg:diazo
     100rules = %(LAYOUT_DIR)s/base.xml
     101prefix = /static
     102doctype = <!DOCTYPE html>
     103# set to false, if you don't want base.xml being rebuild on each request
     104debug = true
     105
     106[pipeline:default]
     107pipeline = theme
     108           translogger
     109           debugger
     110           zope
    85111
    86112[server:main]
     
    93119zope_conf = %(here)s/zope.conf
    94120env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
     121# the directory where all real diazo config is done (no trailing slash)
     122LAYOUT_DIR = ${buildout:directory}/layout
     123STATIC_DIR = %(LAYOUT_DIR)s/static
Note: See TracChangeset for help on using the changeset viewer.