· 7 years ago · Dec 18, 2018, 12:48 PM
1FieldError at /api/info/2/
2Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations
3
4Request Method: GET
5Request URL: http://127.0.0.1:5555/api/info/2/
6Django Version: 2.1
7Python Executable: /usr/local/bin/python
8Python Version: 3.7.1
9Python Path: ['/code/server', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages', '/code/server']
10Server time: Tue, 18 Dec 2018 12:43:25 +0000
11Installed Applications:
12['markup',
13 'shared',
14 'apps.preferences.apps.PreferencesConfig',
15 'apps.adventure.apps.AdventureConfig',
16 'apps.page.apps.PageConfig',
17 'apps.blog.apps.BlogConfig',
18 'apps.faq.apps.FaqConfig',
19 'apps.prices.apps.PricesConfig',
20 'apps.account.apps.AccountConfig',
21 'apps.payment',
22 'apps.booking',
23 'django_cleanup.apps.CleanupConfig',
24 'paypal.standard.ipn',
25 'django_pesapal',
26 'postie',
27 'parler',
28 'codemirror2',
29 'des',
30 'rosetta',
31 'smart_selects',
32 'ckeditor',
33 'ckeditor_uploader',
34 'robots',
35 'django_jinja',
36 'easy_thumbnails',
37 'solo',
38 'rest_framework',
39 'django_filters',
40 'jet',
41 'django.contrib.admin',
42 'django.contrib.auth',
43 'django.contrib.contenttypes',
44 'django.contrib.sessions',
45 'django.contrib.messages',
46 'django.contrib.staticfiles',
47 'django.contrib.sites',
48 'debug_toolbar',
49 'rest_framework_swagger']
50Installed Middleware:
51['django.middleware.security.SecurityMiddleware',
52 'django.contrib.sessions.middleware.SessionMiddleware',
53 'django.middleware.common.CommonMiddleware',
54 'django.middleware.locale.LocaleMiddleware',
55 'django.middleware.csrf.CsrfViewMiddleware',
56 'django.contrib.auth.middleware.AuthenticationMiddleware',
57 'django.contrib.messages.middleware.MessageMiddleware',
58 'django.middleware.clickjacking.XFrameOptionsMiddleware',
59 'debug_toolbar.middleware.DebugToolbarMiddleware']
60
61
62Traceback:
63
64File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in add_fields
65 1732. join_info = self.setup_joins(name.split(LOOKUP_SEP), opts, alias, allow_many=allow_m2m)
66
67File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in setup_joins
68 1473. names[:pivot], opts, allow_many, fail_on_missing=True,
69
70File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in names_to_path
71 1389. "Choices are: %s" % (name, ", ".join(available)))
72
73During handling of the above exception (Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations), another exception occurred:
74
75File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
76 34. response = get_response(request)
77
78File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
79 126. response = self.process_exception_by_middleware(e, request)
80
81File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
82 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
83
84File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
85 54. return view_func(*args, **kwargs)
86
87File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py" in view
88 68. return self.dispatch(request, *args, **kwargs)
89
90File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
91 495. response = self.handle_exception(exc)
92
93File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
94 455. self.raise_uncaught_exception(exc)
95
96File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
97 492. response = handler(request, *args, **kwargs)
98
99File "/usr/local/lib/python3.7/site-packages/rest_framework/generics.py" in get
100 210. return self.retrieve(request, *args, **kwargs)
101
102File "/usr/local/lib/python3.7/site-packages/rest_framework/mixins.py" in retrieve
103 58. return Response(serializer.data)
104
105File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in data
106 560. ret = super(Serializer, self).data
107
108File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in data
109 262. self._data = self.to_representation(self.instance)
110
111File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
112 527. ret[field.field_name] = field.to_representation(attribute)
113
114File "/usr/local/lib/python3.7/site-packages/rest_framework/fields.py" in to_representation
115 1893. return method(value)
116
117File "/code/server/apps/booking/api/serializers/info.py" in get_cities
118 70. return City.objects.values('id', 'name')
119
120File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
121 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
122
123File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py" in values
124 747. clone = self._values(*fields, **expressions)
125
126File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py" in _values
127 742. clone.query.set_values(fields)
128
129File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in set_values
130 1984. self.add_fields(field_names, True)
131
132File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in add_fields
133 1755. "Choices are: %s" % (name, ", ".join(names)))
134
135Exception Type: FieldError at /api/info/2/
136Exception Value: Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations
137Request information:
138USER: root
139
140GET: No GET data
141
142POST: No POST data
143
144FILES: No FILES data
145
146COOKIES:
147cart = '3c66f74a-0a21-4b0f-ae93-13119f9519d1:1gWOcx:XqjGiWc4T6XMD5tHfJx8K7HnR7o'
148csrftoken = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
149sessionid = 'bf6e79mfbhxcceelrac3zgdqgveng5eb'
150
151META:
152CELERY_BROKER_URL = 'redis://cache:6379'
153CONTENT_LENGTH = ''
154CONTENT_TYPE = 'text/plain'
155CSRF_COOKIE = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
156DJANGO_CACHE_URL = 'redis://cache:6379'
157DJANGO_DB_URL = 'psql://postgres:postgres@db:5432/db'
158DJANGO_DEBUG = 'True'
159DJANGO_SECRET_KEY = 'CHANGEME!!!'
160DJANGO_SETTINGS_MODULE = 'app.settings'
161GATEWAY_INTERFACE = 'CGI/1.1'
162GPG_KEY = '0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D'
163HOME = '/root'
164HOSTNAME = '1d84239a84c4'
165HTTP_ACCEPT = 'application/json, text/plain, */*'
166HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
167HTTP_ACCEPT_LANGUAGE = 'en'
168HTTP_CACHE_CONTROL = 'no-cache'
169HTTP_CONNECTION = 'keep-alive'
170HTTP_COOKIE = 'cart=3c66f74a-0a21-4b0f-ae93-13119f9519d1:1gWOcx:XqjGiWc4T6XMD5tHfJx8K7HnR7o; csrftoken=DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu; sessionid=bf6e79mfbhxcceelrac3zgdqgveng5eb'
171HTTP_HOST = '127.0.0.1:5555'
172HTTP_PRAGMA = 'no-cache'
173HTTP_REFERER = 'http://127.0.0.1:5555/en/booking/'
174HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3595.2 Safari/537.36'
175HTTP_X_CSRFTOKEN = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
176HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
177LANG = 'C.UTF-8'
178PATH = '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
179PATH_INFO = '/api/info/2/'
180PWD = '/code/server'
181PYTHONUNBUFFERED = '1'
182PYTHON_PIP_VERSION = '18.1'
183PYTHON_VERSION = '3.7.1'
184QUERY_STRING = ''
185REMOTE_ADDR = '172.18.0.1'
186REMOTE_HOST = ''
187REQUEST_METHOD = 'GET'
188RUN_MAIN = 'true'
189SCRIPT_NAME = ''
190SERVER_NAME = '1d84239a84c4'
191SERVER_PORT = '8000'
192SERVER_PROTOCOL = 'HTTP/1.1'
193SERVER_SOFTWARE = 'WSGIServer/0.2'
194SHLVL = '1'
195TZ = 'UTC'
196_ = '/usr/local/bin/python'
197wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
198wsgi.file_wrapper = ''
199wsgi.input = <_io.BufferedReader name=8>
200wsgi.multiprocess = False
201wsgi.multithread = True
202wsgi.run_once = False
203wsgi.url_scheme = 'http'
204wsgi.version = '(1, 0)'
205
206Settings:
207Using settings module app.settings
208ABSOLUTE_URL_OVERRIDES = {}
209ADMINS = []
210ALLOWED_HOSTS = ['*']
211APPEND_SLASH = True
212AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
213AUTH_PASSWORD_VALIDATORS = '********************'
214AUTH_USER_MODEL = 'auth.User'
215BASE_DIR = PosixPath('/code/server/app/settings/default.py')
216BASE_ROOT = PosixPath('/code/server/app')
217BEFORE_AFTER = Choices(('before', 'before', 'Before'), ('after', 'after', 'After'))
218CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://cache:6379'}}
219CACHE_MIDDLEWARE_ALIAS = 'default'
220CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
221CACHE_MIDDLEWARE_SECONDS = 600
222CELERY_BROKER_URL = 'redis://cache:6379'
223CKEDITOR_UPLOAD_PATH = 'content/ckeditor/'
224CSRF_COOKIE_AGE = 31449600
225CSRF_COOKIE_DOMAIN = None
226CSRF_COOKIE_HTTPONLY = False
227CSRF_COOKIE_NAME = 'csrftoken'
228CSRF_COOKIE_PATH = '/'
229CSRF_COOKIE_SAMESITE = 'Lax'
230CSRF_COOKIE_SECURE = False
231CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
232CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
233CSRF_TRUSTED_ORIGINS = []
234CSRF_USE_SESSIONS = False
235CURRENCY = Choices(('d', 'd', 'Dollar'), ('e', 'e', 'Euro'))
236DATABASES = {'default': {'NAME': 'db', 'USER': 'postgres', 'PASSWORD': '********************', 'HOST': 'db', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
237DATABASE_ROUTERS = []
238DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
239DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
240DATETIME_FORMAT = 'N j, Y, P'
241DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
242DATE_FORMAT = 'N j, Y'
243DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
244DEBUG = True
245DEBUG_PROPAGATE_EXCEPTIONS = False
246DECIMAL_SEPARATOR = '.'
247DEFAULT_CHARSET = 'utf-8'
248DEFAULT_CONTENT_TYPE = 'text/html'
249DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
250DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension']
251DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
252DEFAULT_FROM_EMAIL = 'webmaster@localhost'
253DEFAULT_INDEX_TABLESPACE = ''
254DEFAULT_TABLESPACE = ''
255DISALLOWED_USER_AGENTS = []
256EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
257EMAIL_HOST = 'localhost'
258EMAIL_HOST_PASSWORD = '********************'
259EMAIL_HOST_USER = ''
260EMAIL_PORT = 25
261EMAIL_SSL_CERTFILE = None
262EMAIL_SSL_KEYFILE = '********************'
263EMAIL_SUBJECT_PREFIX = '[Django] '
264EMAIL_TIMEOUT = None
265EMAIL_USE_LOCALTIME = False
266EMAIL_USE_SSL = False
267EMAIL_USE_TLS = False
268FILE_CHARSET = 'utf-8'
269FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
270FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
271FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
272FILE_UPLOAD_PERMISSIONS = None
273FILE_UPLOAD_TEMP_DIR = None
274FIRST_DAY_OF_WEEK = 0
275FIXTURE_DIRS = []
276FORCE_SCRIPT_NAME = None
277FORMAT_MODULE_PATH = None
278FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
279HINT = Choices(('empty', 'empty', 'Empty (hint disabled)'), ('image', 'image', 'Image'), ('text', 'text', 'Text'))
280HINT_EDIT = False
281IGNORABLE_404_URLS = []
282INSTALLED_APPS = ['markup', 'shared', 'apps.preferences.apps.PreferencesConfig', 'apps.adventure.apps.AdventureConfig', 'apps.page.apps.PageConfig', 'apps.blog.apps.BlogConfig', 'apps.faq.apps.FaqConfig', 'apps.prices.apps.PricesConfig', 'apps.account.apps.AccountConfig', 'apps.payment', 'apps.booking', 'django_cleanup.apps.CleanupConfig', 'paypal.standard.ipn', 'django_pesapal', 'postie', 'parler', 'codemirror2', 'des', 'rosetta', 'smart_selects', 'ckeditor', 'ckeditor_uploader', 'robots', 'django_jinja', 'easy_thumbnails', 'solo', 'rest_framework', 'django_filters', 'jet', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'debug_toolbar', 'rest_framework_swagger']
283INTERNAL_IPS = []
284LANGUAGES = "(('en', 'English'), ('de', 'Germany'))"
285LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
286LANGUAGE_CODE = 'en'
287LANGUAGE_COOKIE_AGE = None
288LANGUAGE_COOKIE_DOMAIN = None
289LANGUAGE_COOKIE_NAME = 'django_language'
290LANGUAGE_COOKIE_PATH = '/'
291LOCALE_PATHS = "(PosixPath('/code/server/app/locale'),)"
292LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'django': {'level': 'ERROR', 'class': 'shared.env.logs.MakeFileHandler', 'filename': '/var/log/django/error.log'}, 'console': {'level': 'ERROR', 'class': 'logging.StreamHandler'}, 'celery': {'level': 'ERROR', 'class': 'shared.env.logs.MakeFileHandler', 'filename': '/var/log/celery/error.log'}}, 'loggers': {'django': {'handlers': ['django', 'console'], 'level': 'ERROR', 'propagate': True}, 'celery': {'handlers': ['celery', 'console'], 'level': 'ERROR', 'propagate': True}}}
293LOGGING_CONFIG = 'logging.config.dictConfig'
294LOGIN_REDIRECT_URL = '/accounts/profile/'
295LOGIN_URL = '/accounts/login/'
296LOGOUT_REDIRECT_URL = None
297MANAGERS = []
298MEDIA_ROOT = PosixPath('/code/server/app/uploads')
299MEDIA_URL = '/uploads/'
300MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
301MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware']
302MIGRATION_MODULES = {}
303MONTH_DAY_FORMAT = 'F j'
304NUMBER_GROUPING = 0
305PARLER_DEFAULT_LANGUAGE_CODE = 'en'
306PARLER_LANGUAGES = {1: ({'code': 'en', 'hide_untranslated': False, 'fallbacks': ['en']}, {'code': 'de', 'hide_untranslated': False, 'fallbacks': ['en']}), 'default': {'hide_untranslated': False, 'code': 'en', 'fallbacks': ['en']}}
307PASSWORD_HASHERS = '********************'
308PASSWORD_RESET_TIMEOUT_DAYS = '********************'
309PAYPAL_TEST = True
310PESAPAL_DEMO = False
311PESAPAL_TRANSACTION_DEFAULT_REDIRECT_URL = 'pages:well-done'
312POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {'attrs': {'cols': 80, 'rows': 10}}}
313POSTIE_INSTANT_SEND = True
314POSTIE_TEMPLATE_CONTEXTS = {'JOIN_REQUEST': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'country': 'Country', 'already_book': 'Already book tour', 'website': 'Has website', 'datetime': 'Date and time', 'about': 'About', 'images': 'Images'}, 'QUESTION': {'email': 'Email', 'name': 'Name', 'question': 'Question', 'date': 'Date'}, 'SUBSCRIPTION': {'name': 'Name', 'email': 'Email'}}
315PREFERENCES_CACHE_TTL = 1800
316PREPEND_WWW = False
317PROJECT_APPS = ['markup', 'shared', 'apps.preferences.apps.PreferencesConfig', 'apps.adventure.apps.AdventureConfig', 'apps.page.apps.PageConfig', 'apps.blog.apps.BlogConfig', 'apps.faq.apps.FaqConfig', 'apps.prices.apps.PricesConfig', 'apps.account.apps.AccountConfig', 'apps.payment', 'apps.booking']
318REST_FRAMEWORK = {'DATETIME_FORMAT': '%m/%d/%Y'}
319ROOT_URLCONF = 'app.urls'
320SECRET_KEY = '********************'
321SECURE_BROWSER_XSS_FILTER = False
322SECURE_CONTENT_TYPE_NOSNIFF = False
323SECURE_HSTS_INCLUDE_SUBDOMAINS = False
324SECURE_HSTS_PRELOAD = False
325SECURE_HSTS_SECONDS = 0
326SECURE_PROXY_SSL_HEADER = None
327SECURE_REDIRECT_EXEMPT = []
328SECURE_SSL_HOST = None
329SECURE_SSL_REDIRECT = False
330SERVER_EMAIL = 'root@localhost'
331SESSION_CACHE_ALIAS = 'default'
332SESSION_COOKIE_AGE = 1209600
333SESSION_COOKIE_DOMAIN = None
334SESSION_COOKIE_HTTPONLY = True
335SESSION_COOKIE_NAME = 'sessionid'
336SESSION_COOKIE_PATH = '/'
337SESSION_COOKIE_SAMESITE = 'Lax'
338SESSION_COOKIE_SECURE = False
339SESSION_ENGINE = 'django.contrib.sessions.backends.db'
340SESSION_EXPIRE_AT_BROWSER_CLOSE = False
341SESSION_FILE_PATH = None
342SESSION_SAVE_EVERY_REQUEST = False
343SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
344SETTINGS_MODULE = 'app.settings'
345SHORT_DATETIME_FORMAT = 'm/d/Y P'
346SHORT_DATE_FORMAT = 'm/d/Y'
347SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
348SILENCED_SYSTEM_CHECKS = []
349SITE_ID = 1
350STATICFILES_DIRS = []
351STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
352STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
353STATIC_ROOT = PosixPath('/code/server/app/static')
354STATIC_URL = '/static/'
355TEMPLATES = [{'BACKEND': 'django_jinja.backend.Jinja2', 'NAME': 'jinja2', 'APP_DIRS': True, 'DIRS': [], 'OPTIONS': {'environment': 'shared.env.jinja2.environment', 'match_extension': '.jinja', 'newstyle_gettext': True, 'auto_reload': True, 'undefined': <class 'jinja2.runtime.Undefined'>, 'debug': True, 'filters': {}, 'globals': {}, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'apps.preferences.context_processors.get_preferences'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension'], 'bytecode_cache': {'name': 'default', 'backend': 'django_jinja.cache.BytecodeCache', 'enabled': True}}}, {'DIRS': [], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'OPTIONS': {'context_processors': ['django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'django.contrib.auth.context_processors.auth']}}]
356TEST_NON_SERIALIZED_APPS = []
357TEST_RUNNER = 'django.test.runner.DiscoverRunner'
358THOUSAND_SEPARATOR = ','
359TIME_FORMAT = 'P'
360TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
361TIME_ZONE = 'UTC'
362USE_I18N = True
363USE_L10N = True
364USE_THOUSAND_SEPARATOR = False
365USE_TZ = True
366USE_X_FORWARDED_HOST = False
367USE_X_FORWARDED_PORT = False
368WSGI_APPLICATION = 'app.wsgi.application'
369X_FRAME_OPTIONS = 'SAMEORIGIN'
370YEAR_MONTH_FORMAT = 'F Y'
371
372
373You're seeing this error because you have DEBUG = True in your
374Django settings file. Change that to False, and Django will
375display a standard page generated by the handler for this status code.