Coverage for /Users/marco/Code/django-rosetta/rosetta/conf/settings.py : 100.00%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Number of messages to display per page.
# Enable Google translation suggestions
# Can be obtained for free here: https://translate.yandex.com/apikeys
# Can be obtained for free here: https://ssl.bing.com/webmaster/Developers/AppIds/
# Displays this language beside the original MSGID in the admin
# Change these if the source language in your PO files isn't English
settings, 'ROSETTA_ACCESS_CONTROL_FUNCTION', None)
""" When running WSGI daemon mode, using mod_wsgi 2.0c5 or later, this setting controls whether the contents of the gettext catalog files should be automatically reloaded by the WSGI processes each time they are modified.
Notes:
* The WSGI daemon process must have write permissions on the WSGI script file (as defined by the WSGIScriptAlias directive.) * WSGIScriptReloading must be set to On (it is by default) * For performance reasons, this setting should be disabled in production environments * When a common rosetta installation is shared among different Django projects, each one running in its own distinct WSGI virtual host, you can activate auto-reloading in individual projects by enabling this setting in the project's own configuration file, i.e. in the project's settings.py
Refs:
* http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode * http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIReloadMechanism
"""
# Exclude applications defined in this list from being translated
# Line length of the updated PO file
# Storage class to handle temporary data storage
# Allow overriding of the default filenames, you mostly won't need to change this
if 'rosetta' in settings.CACHES else 'default')
# Require users to be authenticated (and Superusers or in group "translators"). # Set this to False at your own risk
# Exclude paths defined in this list from being searched (usually ends with "locale")
# Set to True to enable language-specific groups, which can be used to give # different translators access to different languages. Instead of creating a # 'translators` group, create individual per-language groups, e.g. # 'translators-de', 'translators-fr', ...
# Determines whether the MO file is automatically compiled when the PO file is saved.
|