Changeset 5330

Show
Ignore:
Timestamp:
09/01/08 03:37:24 (4 months ago)
Author:
carndt
Message:

Port r5329 to 1.5 branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.5/turbogears/qstemplates/quickstart/+package+/config/app.cfg_tmpl

    r5139 r5330  
    1717tg.defaultview = "genshi" 
    1818 
    19 # The following genshi settings determine the settings used by the genshi serializer. 
     19# The following Genshi settings determine the settings used by the Genshi 
     20# serializer. 
    2021 
    2122# One of (html|html-strict|html-transitional|xhtml|xhtml-strict|html5|json) 
     
    4445# Kid output method (e.g. html, html-strict, xhtml, xhtml-strict, xml, json) 
    4546# and formatting (e.g. default, straight, compact, newlines, wrap, nice) 
    46 # kid.outputformat="html default" 
    47  
    48 # kid.encoding="utf-8" 
     47# kid.outputformat = "html default" 
     48 
     49# kid.encoding = "utf-8" 
    4950 
    5051# The sitetemplate is used for overall styling of a site that 
    5152# includes multiple TurboGears applications 
    52 # tg.sitetemplate="<packagename.templates.templatename>" 
     53# tg.sitetemplate = "<packagename.templates.templatename>" 
    5354 
    5455# Allow every exposed function to be called as json, 
    5556# tg.allow_json = False 
    5657 
    57 # Control how MochiKit is loaded using tgMochiKit: 
     58# Control how MochiKit is loaded using tgMochiKit. 
     59# See http://docs.turbogears.org/tgMochiKit for more information. 
    5860# tg_mochikit.packed = False 
    59 # tg_mochikit.version = '1.3.1' 
    6061# tg_mochikit.xhtml = False 
     62# TurboGears >= 1.1 needs MochiKit >= 1.4 for all JS-enhanced widgets to work 
     63# correctly. Don't change the following setting unless you know what you are 
     64# doing! 
     65tg_mochikit.version = '1.4' 
    6166 
    6267# List of Widgets to include on every page. 
    63 # for example ['turbogears.mochikit'] 
    6468# tg.include_widgets = [] 
     69# For example to include the MochiKit library provided by TurboGears+tgMochiKit: 
     70# tg.include_widgets = ['turbogears.mochikit'] 
    6571 
    6672# Set to True if the scheduler should be started 
     
    8591 
    8692# Enable Visit tracking 
    87 tools.visit.on=True 
     93tools.visit.on = True 
    8894 
    8995# Number of minutes a visit may be idle before it expires. 
     
    9197 
    9298# The name of the cookie to transmit to the visitor's browser. 
    93 # tools.visit.cookie.name="tg-visit" 
     99# tools.visit.cookie.name = "tg-visit" 
    94100 
    95101# Domain name to specify when setting the cookie (must begin with . according to 
     
    97103# the machine to which the request was made. NOTE: localhost is NEVER a valid 
    98104# value and will NOT WORK. 
    99 # tools.visit.cookie.domain=None 
     105# tools.visit.cookie.domain = None 
    100106 
    101107# Specific path for the cookie 
    102 # tools.visit.cookie.path="/" 
     108# tools.visit.cookie.path = "/" 
    103109 
    104110# The name of the VisitManager plugin to use for visitor tracking. 
    105 tools.visit.manager="${identity}" 
     111tools.visit.manager = "${identity}" 
    106112 
    107113#if $identity == "sqlobject" 
     
    120126 
    121127# Switch to turn on or off the Identity management module 
    122 identity.on=True 
     128identity.on = True 
    123129 
    124130# [REQUIRED] URL to which CherryPy will internally redirect when an access 
    125131# control check fails. If Identity management is turned on, a value for this 
    126132# option must be specified. 
    127 identity.failure_url="/login" 
     133identity.failure_url = "/login" 
    128134 
    129135# If force_external_redirect is set to True, then the identity 
     
    131137# This is mainly used to make sure that if you use 
    132138# an https:// url in the failure_url, this will be respected. 
    133 identity.force_external_redirect=False 
     139identity.force_external_redirect = False 
    134140 
    135141#if $identity=='sqlobject' 
    136 # identity.provider='${identity}' 
     142# identity.provider = '${identity}' 
    137143#else 
    138 identity.provider='${identity}' 
     144identity.provider = '${identity}' 
    139145#end if 
    140146 
     
    143149# existence may be stripped out prior to passing the form data to the target 
    144150# controller. 
    145 # identity.form.user_name="user_name" 
    146 # identity.form.password="password" 
    147 # identity.form.submit="login" 
     151# identity.form.user_name = "user_name" 
     152# identity.form.password = "password" 
     153# identity.form.submit = "login" 
    148154 
    149155# What sources should the identity provider consider when determining the 
    150156# identity associated with a request? Comma separated list of identity sources. 
    151157# Valid sources: form, visit, http_auth 
    152 # identity.source="form,http_auth,visit" 
     158# identity.source = "form,http_auth,visit" 
    153159 
    154160#if $identity=='sqlobject' 
     
    160166# SQL keywords for class names (at least unless you specify a different table 
    161167# name using sqlmeta). 
    162 identity.soprovider.model.user="${package}.model.User" 
    163 identity.soprovider.model.group="${package}.model.Group" 
    164 identity.soprovider.model.permission="${package}.model.Permission" 
     168identity.soprovider.model.user = "${package}.model.User" 
     169identity.soprovider.model.group = "${package}.model.Group" 
     170identity.soprovider.model.permission = "${package}.model.Permission" 
    165171 
    166172# The password encryption algorithm used when comparing passwords against what's 
     
    175181# use (in situations where identity may not yet be running, like tests). 
    176182 
    177 # identity.soprovider.encryption_algorithm=None 
     183# identity.soprovider.encryption_algorithm = None 
    178184#else 
    179185# SqlAlchemyIdentityProvider 
     
    184190# SQL keywords for class names (at least unless you specify a different table 
    185191# name using sqlmeta). 
    186 identity.saprovider.model.user="${package}.model.User" 
    187 identity.saprovider.model.group="${package}.model.Group" 
    188 identity.saprovider.model.permission="${package}.model.Permission" 
     192identity.saprovider.model.user = "${package}.model.User" 
     193identity.saprovider.model.group = "${package}.model.Group" 
     194identity.saprovider.model.permission = "${package}.model.Permission" 
    189195 
    190196# The password encryption algorithm used when comparing passwords against what's 
     
    199205# use (in situations where identity may not yet be running, like tests). 
    200206 
    201 # identity.saprovider.encryption_algorithm=None 
     207# identity.saprovider.encryption_algorithm = None 
    202208#end if 
    203209#end if