cmlenz@4: [global] cmlenz@4: # The settings in this file should not vary depending on the deployment cmlenz@4: # environment. dev.cfg and prod.cfg are the locations for cmlenz@4: # the different deployment settings. Settings in this file will cmlenz@4: # be overridden by settings in those other files. cmlenz@4: cmlenz@4: # The commented out values below are the defaults cmlenz@4: cmlenz@4: # VIEW cmlenz@4: cmlenz@4: # which view (template engine) to use if one is not specified in the cmlenz@4: # template name cmlenz@230: tg.defaultview = "genshi" cmlenz@4: cmlenz@4: # The following kid settings determine the settings used by the kid serializer. cmlenz@4: cmlenz@4: # One of (html|xml|json) cmlenz@4: # kid.outputformat="html" cmlenz@4: cmlenz@4: # kid.encoding="utf-8" cmlenz@4: cmlenz@4: # The sitetemplate is used for overall styling of a site that cmlenz@4: # includes multiple TurboGears applications cmlenz@4: # tg.sitetemplate="" cmlenz@4: cmlenz@4: # Allow every exposed function to be called as json, cmlenz@4: # tg.allow_json = False cmlenz@4: mgood@110: # List of Widgets to include on every page. mgood@110: # for exemple ['turbogears.mochikit'] mgood@110: # tg.include_widgets = [] cmlenz@4: cmlenz@4: # Set to True if the scheduler should be started cmlenz@4: # tg.scheduler = False cmlenz@4: mgood@110: # VISIT TRACKING mgood@110: # Each visit to your application will be assigned a unique visit ID tracked via mgood@110: # a cookie sent to the visitor's browser. mgood@110: # -------------- mgood@110: mgood@110: # Enable Visit tracking mgood@110: visit.on=True mgood@110: mgood@110: # Number of minutes a visit may be idle before it expires. mgood@110: # visit.timeout=20 mgood@110: mgood@110: # The name of the cookie to transmit to the visitor's browser. mgood@110: # visit.cookie.name="tg-visit" mgood@110: mgood@110: # Domain name to specify when setting the cookie (must begin with . according to mgood@110: # RFC 2109). The default (None) should work for most cases and will default to mgood@110: # the machine to which the request was made. NOTE: localhost is NEVER a valid mgood@110: # value and will NOT WORK. mgood@110: # visit.cookie.domain=None mgood@110: mgood@110: # Specific path for the cookie mgood@110: # visit.cookie.path="/" mgood@110: mgood@110: # The name of the VisitManager plugin to use for visitor tracking. mgood@110: visit.manager="sqlobject" mgood@110: mgood@110: # Database class to use for visit tracking cmlenz@230: visit.soprovider.model = "genshitest.model.Visit" mgood@110: mgood@110: # IDENTITY mgood@110: # General configuration of the TurboGears Identity management module mgood@110: # -------- mgood@110: mgood@110: # Switch to turn on or off the Identity management module mgood@110: identity.on=True mgood@110: mgood@110: # [REQUIRED] URL to which CherryPy will internally redirect when an access mgood@110: # control check fails. If Identity management is turned on, a value for this mgood@110: # option must be specified. mgood@110: identity.failure_url="/login" mgood@110: mgood@110: # identity.provider='sqlobject' mgood@110: mgood@110: # The names of the fields on the login form containing the visitor's user ID mgood@110: # and password. In addition, the submit button is specified simply so its mgood@110: # existence may be stripped out prior to passing the form data to the target mgood@110: # controller. mgood@110: # identity.form.user_name="user_name" mgood@110: # identity.form.password="password" mgood@110: # identity.form.submit="login" mgood@110: mgood@110: # What sources should the identity provider consider when determining the mgood@110: # identity associated with a request? Comma separated list of identity sources. mgood@110: # Valid sources: form, visit, http_auth mgood@110: # identity.source="form,http_auth,visit" mgood@110: mgood@110: # SqlObjectIdentityProvider mgood@110: # Configuration options for the default IdentityProvider mgood@110: # ------------------------- mgood@110: mgood@110: # The classes you wish to use for your Identity model. Remember to not use reserved mgood@110: # SQL keywords for class names (at least unless you specify a different table mgood@110: # name using sqlmeta). cmlenz@230: identity.soprovider.model.user="genshitest.model.User" cmlenz@230: identity.soprovider.model.group="genshitest.model.Group" cmlenz@230: identity.soprovider.model.permission="genshitest.model.Permission" mgood@110: mgood@110: # The password encryption algorithm used when comparing passwords against what's mgood@110: # stored in the database. Valid values are 'md5' or 'sha1'. If you do not mgood@110: # specify an encryption algorithm, passwords are expected to be clear text. mgood@110: # mgood@110: # The SqlObjectProvider *will* encrypt passwords supplied as part of your login mgood@110: # form. If you set the password through the password property, like: mgood@110: # my_user.password = 'secret' mgood@110: # the password will be encrypted in the database, provided identity is up and mgood@110: # running, or you have loaded the configuration specifying what encryption to mgood@110: # use (in situations where identity may not yet be running, like tests). mgood@110: mgood@110: # identity.soprovider.encryption_algorithm=None cmlenz@4: [/static] cmlenz@4: static_filter.on = True cmlenz@4: static_filter.dir = "%(top_level_dir)s/static" cmlenz@4: cmlenz@4: [/favicon.ico] cmlenz@4: static_filter.on = True cmlenz@4: static_filter.file = "%(top_level_dir)s/static/images/favicon.ico"