|
12 | 12 |
|
13 | 13 | MANAGERS = ADMINS |
14 | 14 |
|
15 | | -DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
16 | | -DATABASE_NAME = 'demo.sqlite' # Or path to database file if using sqlite3. |
17 | | -DATABASE_USER = '' # Not used with sqlite3. |
18 | | -DATABASE_PASSWORD = '' # Not used with sqlite3. |
19 | | -DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. |
20 | | -DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. |
| 15 | +DATABASES = { |
| 16 | + 'default': { |
| 17 | + 'ENGINE': 'django.db.backends.sqlite3', |
| 18 | + 'NAME': 'demo.sqlite', |
| 19 | + } |
| 20 | +} |
21 | 21 |
|
22 | 22 | # Local time zone for this installation. Choices can be found here: |
23 | 23 | # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
|
55 | 55 |
|
56 | 56 | # List of callables that know how to import templates from various sources. |
57 | 57 | TEMPLATE_LOADERS = ( |
58 | | - 'django.template.loaders.filesystem.load_template_source', |
59 | | - 'django.template.loaders.app_directories.load_template_source', |
| 58 | + 'django.template.loaders.filesystem.Loader', |
| 59 | + 'django.template.loaders.app_directories.Loader', |
60 | 60 | ) |
61 | 61 |
|
62 | 62 | MIDDLEWARE_CLASSES = ( |
|
75 | 75 | ) |
76 | 76 |
|
77 | 77 | TEMPLATE_CONTEXT_PROCESSORS = ( |
78 | | - 'django.core.context_processors.auth', |
| 78 | + 'django.contrib.auth.context_processors.auth', |
79 | 79 | 'django.core.context_processors.media', |
80 | 80 | #'django.core.context_processors.i18n', |
81 | 81 | #'django.core.context_processors.request', |
|
0 commit comments