Code

Ticket #15062: settings.py

File settings.py, 1.1 KB (added by clelland, 3 years ago)

settings.py for test project which reproduces error

Line 
1INSTALLED_APPS = (
2    'django.contrib.auth',
3    'django.contrib.contenttypes',
4    'test_app',
5)
6
7DATABASES = {
8    'default': {
9        'ENGINE': 'django.db.backends.mysql',
10        'NAME': 'related_test',
11        'USER': 'django',
12        'PASSWORD': 'django',
13        'HOST': '',
14        'PORT': '',
15    }
16}
17
18# All default from django-admin.py
19DEBUG = True
20TEMPLATE_DEBUG = DEBUG
21ADMINS = ()
22MANAGERS = ADMINS
23TIME_ZONE = 'America/Chicago'
24LANGUAGE_CODE = 'en-us'
25SITE_ID = 1
26USE_I18N = True
27USE_L10N = True
28MEDIA_ROOT = ''
29MEDIA_URL = ''
30ADMIN_MEDIA_PREFIX = '/media/'
31SECRET_KEY = 'u2pouyosi)aq*y!f4t&**ul)-m=7w$xiq92!6crk9=#vj3ah(0'
32TEMPLATE_LOADERS = (
33    'django.template.loaders.filesystem.Loader',
34    'django.template.loaders.app_directories.Loader',
35)
36MIDDLEWARE_CLASSES = (
37    'django.middleware.common.CommonMiddleware',
38    'django.contrib.sessions.middleware.SessionMiddleware',
39    'django.middleware.csrf.CsrfViewMiddleware',
40    'django.contrib.auth.middleware.AuthenticationMiddleware',
41    'django.contrib.messages.middleware.MessageMiddleware',
42)
43ROOT_URLCONF = 'related_test.urls'
44TEMPLATE_DIRS = ()