Changeset 5329
- Timestamp:
- 09/01/08 03:29:22 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/turbogears/qstemplates/quickstart/+package+/config/app.cfg_tmpl
r5175 r5329 17 17 tg.defaultview = "genshi" 18 18 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. 20 21 21 22 # One of (html|html-strict|html-transitional|xhtml|xhtml-strict|html5|json) … … 44 45 # Kid output method (e.g. html, html-strict, xhtml, xhtml-strict, xml, json) 45 46 # 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" 49 50 50 51 # The sitetemplate is used for overall styling of a site that 51 52 # includes multiple TurboGears applications 52 # tg.sitetemplate ="<packagename.templates.templatename>"53 # tg.sitetemplate = "<packagename.templates.templatename>" 53 54 54 55 # Allow every exposed function to be called as json, 55 56 # tg.allow_json = False 56 57 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. 58 60 # tg_mochikit.packed = False 59 # tg_mochikit.version = '1.3.1'60 61 # 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! 65 tg_mochikit.version = '1.4' 61 66 62 67 # List of Widgets to include on every page. 63 # for example ['turbogears.mochikit']64 68 # tg.include_widgets = [] 69 # For example to include the MochiKit library provided by TurboGears+tgMochiKit: 70 # tg.include_widgets = ['turbogears.mochikit'] 65 71 66 72 # Set to True if the scheduler should be started … … 88 94 89 95 # Enable Visit tracking 90 visit.on =True96 visit.on = True 91 97 92 98 # Number of minutes a visit may be idle before it expires. 93 # visit.timeout =2099 # visit.timeout = 20 94 100 95 101 # Where to look for the key of an existing visit in the request and in which 96 102 # order. Comma-separated list of possible values: 'cookie', 'form'. 97 103 # By default only use visit key in session cookie. 98 # visit.source ="cookie"104 # visit.source = "cookie" 99 105 100 106 # The name of the cookie to transmit to the visitor's browser. 101 # visit.cookie.name ="tg-visit"107 # visit.cookie.name = "tg-visit" 102 108 103 109 # The name of the request parameter with the session key (for when 104 110 # 'visit.source' includes 'form'). Name MUST NOT contain dashes or dots! 105 # visit.form.name ="tg_visit"111 # visit.form.name = "tg_visit" 106 112 107 113 # Domain name to specify when setting the cookie (must begin with . according to … … 109 115 # the machine to which the request was made. NOTE: localhost is NEVER a valid 110 116 # value and will NOT WORK. 111 # visit.cookie.domain =None117 # visit.cookie.domain = None 112 118 113 119 # Specific path for the cookie 114 # visit.cookie.path ="/"120 # visit.cookie.path = "/" 115 121 116 122 # The name of the VisitManager plugin to use for visitor tracking. 117 visit.manager ="${identity}"123 visit.manager = "${identity}" 118 124 119 125 #if $identity == "sqlobject" … … 132 138 133 139 # Switch to turn on or off the Identity management module 134 identity.on =True140 identity.on = True 135 141 136 142 # [REQUIRED] URL to which CherryPy will internally redirect when an access 137 143 # control check fails. If Identity management is turned on, a value for this 138 144 # option must be specified. 139 identity.failure_url ="/login"145 identity.failure_url = "/login" 140 146 141 147 # If force_external_redirect is set to True, then the identity … … 143 149 # This is mainly used to make sure that if you use 144 150 # an https:// url in the failure_url, this will be respected. 145 identity.force_external_redirect =False151 identity.force_external_redirect = False 146 152 147 153 #if $identity=='sqlobject' 148 # identity.provider ='${identity}'154 # identity.provider = '${identity}' 149 155 #else 150 identity.provider ='${identity}'156 identity.provider = '${identity}' 151 157 #end if 152 158 … … 155 161 # existence may be stripped out prior to passing the form data to the target 156 162 # controller. 157 # identity.form.user_name ="user_name"158 # identity.form.password ="password"159 # identity.form.submit ="login"163 # identity.form.user_name = "user_name" 164 # identity.form.password = "password" 165 # identity.form.submit = "login" 160 166 161 167 # What sources should the identity provider consider when determining the 162 168 # identity associated with a request? Comma separated list of identity sources. 163 169 # Valid sources: form, visit, http_auth 164 # identity.source ="form,http_auth,visit"170 # identity.source = "form,http_auth,visit" 165 171 166 172 #if $identity=='sqlobject' … … 172 178 # SQL keywords for class names (at least unless you specify a different table 173 179 # name using sqlmeta). 174 identity.soprovider.model.user ="${package}.model.User"175 identity.soprovider.model.group ="${package}.model.Group"176 identity.soprovider.model.permission ="${package}.model.Permission"180 identity.soprovider.model.user = "${package}.model.User" 181 identity.soprovider.model.group = "${package}.model.Group" 182 identity.soprovider.model.permission = "${package}.model.Permission" 177 183 178 184 # The password encryption algorithm used when comparing passwords against what's … … 187 193 # use (in situations where identity may not yet be running, like tests). 188 194 189 # identity.soprovider.encryption_algorithm =None195 # identity.soprovider.encryption_algorithm = None 190 196 #else 191 197 # SqlAlchemyIdentityProvider … … 196 202 # SQL keywords for class names (at least unless you specify a different table 197 203 # name using sqlmeta). 198 identity.saprovider.model.user ="${package}.model.User"199 identity.saprovider.model.group ="${package}.model.Group"200 identity.saprovider.model.permission ="${package}.model.Permission"204 identity.saprovider.model.user = "${package}.model.User" 205 identity.saprovider.model.group = "${package}.model.Group" 206 identity.saprovider.model.permission = "${package}.model.Permission" 201 207 202 208 # The password encryption algorithm used when comparing passwords against what's … … 211 217 # use (in situations where identity may not yet be running, like tests). 212 218 213 # identity.saprovider.encryption_algorithm =None219 # identity.saprovider.encryption_algorithm = None 214 220 #end if 215 221 #end if