Changeset 5330
- Timestamp:
- 09/01/08 03:37:24 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/turbogears/qstemplates/quickstart/+package+/config/app.cfg_tmpl
r5139 r5330 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 … … 85 91 86 92 # Enable Visit tracking 87 tools.visit.on =True93 tools.visit.on = True 88 94 89 95 # Number of minutes a visit may be idle before it expires. … … 91 97 92 98 # 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" 94 100 95 101 # Domain name to specify when setting the cookie (must begin with . according to … … 97 103 # the machine to which the request was made. NOTE: localhost is NEVER a valid 98 104 # value and will NOT WORK. 99 # tools.visit.cookie.domain =None105 # tools.visit.cookie.domain = None 100 106 101 107 # Specific path for the cookie 102 # tools.visit.cookie.path ="/"108 # tools.visit.cookie.path = "/" 103 109 104 110 # The name of the VisitManager plugin to use for visitor tracking. 105 tools.visit.manager ="${identity}"111 tools.visit.manager = "${identity}" 106 112 107 113 #if $identity == "sqlobject" … … 120 126 121 127 # Switch to turn on or off the Identity management module 122 identity.on =True128 identity.on = True 123 129 124 130 # [REQUIRED] URL to which CherryPy will internally redirect when an access 125 131 # control check fails. If Identity management is turned on, a value for this 126 132 # option must be specified. 127 identity.failure_url ="/login"133 identity.failure_url = "/login" 128 134 129 135 # If force_external_redirect is set to True, then the identity … … 131 137 # This is mainly used to make sure that if you use 132 138 # an https:// url in the failure_url, this will be respected. 133 identity.force_external_redirect =False139 identity.force_external_redirect = False 134 140 135 141 #if $identity=='sqlobject' 136 # identity.provider ='${identity}'142 # identity.provider = '${identity}' 137 143 #else 138 identity.provider ='${identity}'144 identity.provider = '${identity}' 139 145 #end if 140 146 … … 143 149 # existence may be stripped out prior to passing the form data to the target 144 150 # 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" 148 154 149 155 # What sources should the identity provider consider when determining the 150 156 # identity associated with a request? Comma separated list of identity sources. 151 157 # Valid sources: form, visit, http_auth 152 # identity.source ="form,http_auth,visit"158 # identity.source = "form,http_auth,visit" 153 159 154 160 #if $identity=='sqlobject' … … 160 166 # SQL keywords for class names (at least unless you specify a different table 161 167 # 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"168 identity.soprovider.model.user = "${package}.model.User" 169 identity.soprovider.model.group = "${package}.model.Group" 170 identity.soprovider.model.permission = "${package}.model.Permission" 165 171 166 172 # The password encryption algorithm used when comparing passwords against what's … … 175 181 # use (in situations where identity may not yet be running, like tests). 176 182 177 # identity.soprovider.encryption_algorithm =None183 # identity.soprovider.encryption_algorithm = None 178 184 #else 179 185 # SqlAlchemyIdentityProvider … … 184 190 # SQL keywords for class names (at least unless you specify a different table 185 191 # 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"192 identity.saprovider.model.user = "${package}.model.User" 193 identity.saprovider.model.group = "${package}.model.Group" 194 identity.saprovider.model.permission = "${package}.model.Permission" 189 195 190 196 # The password encryption algorithm used when comparing passwords against what's … … 199 205 # use (in situations where identity may not yet be running, like tests). 200 206 201 # identity.saprovider.encryption_algorithm =None207 # identity.saprovider.encryption_algorithm = None 202 208 #end if 203 209 #end if