- Timestamp:
- 06/17/07 17:18:54 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/per-object-permissions/django/conf/global_settings.py
r4242 r5488 39 39 ('ar', gettext_noop('Arabic')), 40 40 ('bn', gettext_noop('Bengali')), 41 ('bg', gettext_noop('Bulgarian')), 42 ('ca', gettext_noop('Catalan')), 41 43 ('cs', gettext_noop('Czech')), 42 44 ('cy', gettext_noop('Welsh')), … … 55 57 ('it', gettext_noop('Italian')), 56 58 ('ja', gettext_noop('Japanese')), 59 ('ko', gettext_noop('Korean')), 60 ('kn', gettext_noop('Kannada')), 61 ('lv', gettext_noop('Latvian')), 62 ('mk', gettext_noop('Macedonian')), 57 63 ('nl', gettext_noop('Dutch')), 58 64 ('no', gettext_noop('Norwegian')), 59 65 ('pl', gettext_noop('Polish')), 66 ('pt', gettext_noop('Portugese')), 60 67 ('pt-br', gettext_noop('Brazilian')), 61 68 ('ro', gettext_noop('Romanian')), … … 66 73 ('sv', gettext_noop('Swedish')), 67 74 ('ta', gettext_noop('Tamil')), 75 ('te', gettext_noop('Telugu')), 68 76 ('tr', gettext_noop('Turkish')), 69 77 ('uk', gettext_noop('Ukrainian')), … … 96 104 97 105 # Database connection info. 98 DATABASE_ENGINE = '' # 'postgresql ', 'mysql', 'sqlite3' or 'ado_mssql'.106 DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. 99 107 DATABASE_NAME = '' # Or path to database file if using sqlite3. 100 108 DATABASE_USER = '' # Not used with sqlite3. … … 113 121 EMAIL_HOST_USER = '' 114 122 EMAIL_HOST_PASSWORD = '' 123 EMAIL_USE_TLS = False 115 124 116 125 # List of strings representing installed apps. … … 136 145 'django.core.context_processors.debug', 137 146 'django.core.context_processors.i18n', 147 'django.core.context_processors.media', 138 148 # 'django.core.context_processors.request', 139 149 ) … … 232 242 # The User-Agent string to use when checking for URL validity through the 233 243 # isExistingURL validator. 234 URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)" 244 from django import get_version 245 URL_VALIDATOR_USER_AGENT = "Django/%s (http://www.djangoproject.com)" % get_version() 235 246 236 247 ############## … … 306 317 AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',) 307 318 319 LOGIN_URL = '/accounts/login/' 320 321 LOGOUT_URL = '/accounts/logout/' 322 323 LOGIN_REDIRECT_URL = '/accounts/profile/' 324 308 325 ########### 309 326 # TESTING # … … 316 333 # If None, a name of 'test_' + DATABASE_NAME will be assumed 317 334 TEST_DATABASE_NAME = None 335 336 # Strings used to set the character set and collation order for the test 337 # database. These values are passed literally to the server, so they are 338 # backend-dependent. If None, no special settings are sent (system defaults are 339 # used). 340 TEST_DATABASE_CHARSET = None 341 TEST_DATABASE_COLLATION = None 342 343 ############ 344 # FIXTURES # 345 ############ 346 347 # The list of directories to search for fixtures 348 FIXTURE_DIRS = ()
