Changeset 06e4045
- Timestamp:
- May 13, 2010, 6:01:05 AM (16 years ago)
- Branches:
- master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
- Children:
- 4210a1b
- Parents:
- d7a9b78
- git-author:
- Alex Dehnert <adehnert@…> (05/13/10 06:01:05)
- git-committer:
- Alex Dehnert <adehnert@…> (05/13/10 06:01:05)
- File:
-
- 1 edited
-
asadb/settings.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/settings.py
re8ff26d r06e4045 22 22 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. 23 23 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. 24 25 ENABLE_SCRIPTS_AUTH = True 24 26 25 27 # Local time zone for this installation. Choices can be found here: … … 63 65 ) 64 66 65 MIDDLEWARE_CLASSES = (67 MIDDLEWARE_CLASSES = [ 66 68 'django.middleware.common.CommonMiddleware', 67 69 'django.contrib.sessions.middleware.SessionMiddleware', 68 70 'django.contrib.auth.middleware.AuthenticationMiddleware', 69 ) 71 ] 72 73 AUTHENTICATION_BACKENDS = [ 74 'django.contrib.auth.backends.ModelBackend', 75 ] 76 77 if ENABLE_SCRIPTS_AUTH: 78 MIDDLEWARE_CLASSES.append('mit.ScriptsRemoteUserMiddleware') 79 AUTHENTICATION_BACKENDS.insert(0, 'mit.ScriptsRemoteUserBackend') 80 70 81 71 82 ROOT_URLCONF = 'asadb.urls'
Note: See TracChangeset
for help on using the changeset viewer.