· 6 years ago · May 08, 2019, 07:28 AM
1TypeError at /order/create/
2ordering() got an unexpected keyword argument 'type'
3
4Request Method: POST
5Request URL: https://totis.web-case.com.ua/order/create/
6Django Version: 2.0.8
7Python Executable: /home/totis/totis/totis/server/.venv/bin/python3
8Python Version: 3.6.7
9Python Path: ['/home/totis/totis/totis/server', '/home/totis/totis/totis/server', '/home/totis/totis/totis/server/.venv/bin', '/home/totis/totis/totis/server/.venv/lib/python36.zip', '/home/totis/totis/totis/server/.venv/lib/python3.6', '/home/totis/totis/totis/server/.venv/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages', '/home/totis/totis/totis', '/home/totis/totis/totis/server', '/home/totis/totis/totis/server/app', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf', '/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/odf']
10Server time: Ср, 8 Май 2019 07:24:06 +0000
11Installed Applications:
12['django_json_widget',
13 'adminsortable2',
14 'des',
15 'rosetta',
16 'rest_framework',
17 'django_jinja',
18 'ckeditor',
19 'phonenumber_field',
20 'import_export',
21 'treebeard',
22 'dal',
23 'dal_select2',
24 'django_select2',
25 'django_filters',
26 'cities_light',
27 'solo',
28 'django.contrib.admin',
29 'django.contrib.auth',
30 'django.contrib.contenttypes',
31 'django.contrib.sessions',
32 'django.contrib.messages',
33 'django.contrib.staticfiles',
34 'django.contrib.sitemaps',
35 'django.contrib.sites',
36 'django.contrib.redirects',
37 'sorl.thumbnail',
38 'markup',
39 'apps.clientele',
40 'apps.finance',
41 'apps.preferences',
42 'apps.logger',
43 'apps.mailer',
44 'apps.menu',
45 'apps.website',
46 'apps.catalog',
47 'apps.external',
48 'apps.publications',
49 'apps.subscription']
50Installed Middleware:
51['django.middleware.security.SecurityMiddleware',
52 'django.contrib.sessions.middleware.SessionMiddleware',
53 'django.middleware.common.CommonMiddleware',
54 'django.middleware.csrf.CsrfViewMiddleware',
55 'django.contrib.auth.middleware.AuthenticationMiddleware',
56 'django.contrib.messages.middleware.MessageMiddleware',
57 'django.middleware.clickjacking.XFrameOptionsMiddleware',
58 'apps.website.middleware.RedirectMiddleware',
59 'apps.external.middleware.save_query_middleware',
60 'apps.website.middleware.extra_slashes_redirect',
61 'apps.website.middleware.uppercase_url_redirect',
62 'apps.website.middleware.paginated_page_redirect']
63
64
65Traceback:
66
67File "/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
68 35. response = get_response(request)
69
70File "/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
71 128. response = self.process_exception_by_middleware(e, request)
72
73File "/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
74 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
75
76File "/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/django/views/generic/base.py" in view
77 69. return self.dispatch(request, *args, **kwargs)
78
79File "/home/totis/totis/totis/server/.venv/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
80 89. return handler(request, *args, **kwargs)
81
82File "/home/totis/totis/totis/server/apps/catalog/views/order.py" in post
83 47. external_id, total_sum = form.sync()
84
85File "/home/totis/totis/totis/server/apps/catalog/forms/order.py" in sync
86 54. total_sum=self._cart.get_total_sum(),
87
88Exception Type: TypeError at /order/create/
89Exception Value: ordering() got an unexpected keyword argument 'type'
90Request information:
91USER: admin@gmail.com
92
93GET: No GET data
94
95POST:
96csrfmiddlewaretoken = '9BYV5VsUAU6z2U4x1kHFw5azdDsXssLYN6Zgtn57yXnZ3vmR1f5ZAD5iN2mb0UT2'
97full_name = 'Admin Admin'
98phone = '+ 38 (095) 701 - 48 - 69'
99address = 'Киев'
100email = 'sdfghua@gmail.com'
101comment = 'ТеÑтовый заказ (webcase)'
102
103FILES: No FILES data
104
105COOKIES:
106_tz = '3'
107csrftoken = '1fzI5TAc4DMNebKhLUijTjxRgD1acRysFKA3tldp2G3dfM2BLPGDXRsAQ2VoKjGw'
108sessionid = 'opyvv5an9qok8gsrlbp7onn5uxf44dwv'
109
110META:
111CONTENT_LENGTH = '296'
112CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8'
113CSRF_COOKIE = '1fzI5TAc4DMNebKhLUijTjxRgD1acRysFKA3tldp2G3dfM2BLPGDXRsAQ2VoKjGw'
114HTTP_ACCEPT = '*/*'
115HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
116HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9,ru;q=0.8,ar;q=0.7'
117HTTP_CONNECTION = 'close'
118HTTP_COOKIE = '_tz=3; csrftoken=1fzI5TAc4DMNebKhLUijTjxRgD1acRysFKA3tldp2G3dfM2BLPGDXRsAQ2VoKjGw; sessionid=opyvv5an9qok8gsrlbp7onn5uxf44dwv'
119HTTP_HOST = 'totis.web-case.com.ua'
120HTTP_ORIGIN = 'https://totis.web-case.com.ua'
121HTTP_REFERER = 'https://totis.web-case.com.ua/order/confirm/'
122HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36'
123HTTP_X_FORWARDED_FOR = '185.248.130.27'
124HTTP_X_FORWARDED_PROTO = 'https'
125HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
126PATH_INFO = '/order/create/'
127QUERY_STRING = ''
128RAW_URI = '/order/create/'
129REMOTE_ADDR = ''
130REQUEST_METHOD = 'POST'
131SCRIPT_NAME = ''
132SERVER_NAME = 'totis.web-case.com.ua'
133SERVER_PORT = '443'
134SERVER_PROTOCOL = 'HTTP/1.0'
135SERVER_SOFTWARE = 'gunicorn/19.9.0'
136gunicorn.socket = <gevent._socket3.socket object, fd=4, family=1, type=2049, proto=0>
137wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f474f5f9358>
138wsgi.file_wrapper = ''
139wsgi.input = <gunicorn.http.body.Body object at 0x7f474f5f90f0>
140wsgi.multiprocess = True
141wsgi.multithread = True
142wsgi.run_once = False
143wsgi.url_scheme = 'https'
144wsgi.version = '(1, 0)'
145
146Settings:
147Using settings module app.settings
148ABSOLUTE_URL_OVERRIDES = {}
149ADMINS = []
150ALLOWED_HOSTS = ['185.233.117.90', '159.89.110.230', 'totis.web-case.com.ua']
151APPEND_SLASH = True
152AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
153AUTH_PASSWORD_VALIDATORS = '********************'
154AUTH_USER_MODEL = 'auth.User'
155BASE_DIR = PosixPath('/home/totis/totis/totis/server/app/settings/default.py')
156BASE_ROOT = PosixPath('/home/totis/totis/totis/server/app')
157CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
158CACHE_MIDDLEWARE_ALIAS = 'default'
159CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
160CACHE_MIDDLEWARE_SECONDS = 600
161CACHE_TTL = 3600
162CELERY_ACCEPT_CONTENT = ['json']
163CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
164CELERY_RESULT_SERIALIZER = 'json'
165CELERY_TASK_SERIALIZER = 'json'
166CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT']
167CITIES_LIGHT_INCLUDE_COUNTRIES = ['UA']
168CITIES_LIGHT_TRANSLATION_LANGUAGES = ['ru']
169CKEDITOR_CONFIGS = {'default': {'toolbar': 'full'}}
170CSRF_COOKIE_AGE = 31449600
171CSRF_COOKIE_DOMAIN = None
172CSRF_COOKIE_HTTPONLY = False
173CSRF_COOKIE_NAME = 'csrftoken'
174CSRF_COOKIE_PATH = '/'
175CSRF_COOKIE_SECURE = True
176CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
177CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
178CSRF_TRUSTED_ORIGINS = []
179CSRF_USE_SESSIONS = False
180DATABASES = {'default': {'NAME': 'totis_db', 'USER': 'totis_db', 'PASSWORD': '********************', 'HOST': '127.0.0.1', '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}}}
181DATABASE_ROUTERS = []
182DATA_UPLOAD_MAX_MEMORY_SIZE = 5242880
183DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
184DATETIME_FORMAT = 'N j, Y, P'
185DATETIME_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']
186DATE_FORMAT = 'N j, Y'
187DATE_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']
188DEBUG = 'True'
189DEBUG_PROPAGATE_EXCEPTIONS = False
190DECIMAL_SEPARATOR = '.'
191DEFAULT_CHARSET = 'utf-8'
192DEFAULT_CONTENT_TYPE = 'text/html'
193DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
194DEFAULT_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']
195DEFAULT_FILE_STORAGE = 'shared.utils.LowerCaseStorage'
196DEFAULT_FROM_EMAIL = 'admin@admin.admin'
197DEFAULT_INDEX_TABLESPACE = ''
198DEFAULT_TABLESPACE = ''
199DISALLOWED_USER_AGENTS = []
200EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
201EMAIL_HOST = 'localhost'
202EMAIL_HOST_PASSWORD = '********************'
203EMAIL_HOST_USER = ''
204EMAIL_PORT = 25
205EMAIL_SSL_CERTFILE = None
206EMAIL_SSL_KEYFILE = '********************'
207EMAIL_SUBJECT_PREFIX = '[Django] '
208EMAIL_TIMEOUT = None
209EMAIL_USE_LOCALTIME = False
210EMAIL_USE_SSL = False
211EMAIL_USE_TLS = False
212EXTERNAL_MAX_UPLOAD_SIZE = 5242880
213FILE_CHARSET = 'utf-8'
214FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
215FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
216FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
217FILE_UPLOAD_PERMISSIONS = None
218FILE_UPLOAD_TEMP_DIR = None
219FIRST_DAY_OF_WEEK = 0
220FIXTURE_DIRS = []
221FORCE_SCRIPT_NAME = None
222FORMAT_MODULE_PATH = None
223FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
224IGNORABLE_404_URLS = []
225INSTALLED_APPS = ['django_json_widget', 'adminsortable2', 'des', 'rosetta', 'rest_framework', 'django_jinja', 'ckeditor', 'phonenumber_field', 'import_export', 'treebeard', 'dal', 'dal_select2', 'django_select2', 'django_filters', 'cities_light', 'solo', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites', 'django.contrib.redirects', 'sorl.thumbnail', 'markup', 'apps.clientele', 'apps.finance', 'apps.preferences', 'apps.logger', 'apps.mailer', 'apps.menu', 'apps.website', 'apps.catalog', 'apps.external', 'apps.publications', 'apps.subscription']
226INTERNAL_IPS = []
227LANGUAGES = "(('ru', 'Russian'),)"
228LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
229LANGUAGE_CODE = 'ru'
230LANGUAGE_COOKIE_AGE = None
231LANGUAGE_COOKIE_DOMAIN = None
232LANGUAGE_COOKIE_NAME = 'django_language'
233LANGUAGE_COOKIE_PATH = '/'
234LIQ_PAY_ORDER_ID_PREFIX = 'dev_'
235LIQ_PAY_VERSION = 3
236LOCALE_PATHS = "(PosixPath('/home/totis/totis/totis/server/app/locale'),)"
237LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/totis/totis/totis/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
238LOGGING_CONFIG = 'logging.config.dictConfig'
239LOGIN_REDIRECT_URL = '/account/change/'
240LOGIN_URL = '/auth/verify/'
241LOGOUT_REDIRECT_URL = '/'
242MANAGERS = []
243MEDIA_ROOT = PosixPath('/home/totis/totis/totis/server/app/uploads')
244MEDIA_URL = '/uploads/'
245MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
246MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'apps.website.middleware.RedirectMiddleware', 'apps.external.middleware.save_query_middleware', 'apps.website.middleware.extra_slashes_redirect', 'apps.website.middleware.uppercase_url_redirect', 'apps.website.middleware.paginated_page_redirect']
247MIGRATION_MODULES = {}
248MONTH_DAY_FORMAT = 'F j'
249NUMBER_GROUPING = 0
250PASSWORD_HASHERS = '********************'
251PASSWORD_RESET_TIMEOUT_DAYS = '********************'
252PREPEND_WWW = False
253PROJECT_APPS = ['markup', 'apps.clientele', 'apps.finance', 'apps.preferences', 'apps.logger', 'apps.mailer', 'apps.menu', 'apps.website', 'apps.catalog', 'apps.external', 'apps.publications', 'apps.subscription']
254REDIS_HOST = 'localhost'
255REDIS_PORT = '6379'
256ROOT_URLCONF = 'app.urls'
257ROSETTA_SHOW_AT_ADMIN_PANEL = True
258SECRET_KEY = '********************'
259SECURE_BROWSER_XSS_FILTER = False
260SECURE_CONTENT_TYPE_NOSNIFF = False
261SECURE_HSTS_INCLUDE_SUBDOMAINS = False
262SECURE_HSTS_PRELOAD = False
263SECURE_HSTS_SECONDS = 0
264SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
265SECURE_REDIRECT_EXEMPT = []
266SECURE_SSL_HOST = None
267SECURE_SSL_REDIRECT = False
268SELECT2_CACHE_BACKEND = 'default'
269SELECT2_CACHE_PREFIX = 'select2_'
270SELECT2_CSS = '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/css/select2.min.css'
271SELECT2_I18N_AVAILABLE_LANGUAGES = ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW']
272SELECT2_I18N_PATH = '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/i18n'
273SELECT2_JS = '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.5/js/select2.min.js'
274SELECT2_LIB_VERSION = '4.0.5'
275SERVER_EMAIL = 'root@localhost'
276SESSION_CACHE_ALIAS = 'default'
277SESSION_COOKIE_AGE = 1209600
278SESSION_COOKIE_DOMAIN = None
279SESSION_COOKIE_HTTPONLY = True
280SESSION_COOKIE_NAME = 'sessionid'
281SESSION_COOKIE_PATH = '/'
282SESSION_COOKIE_SECURE = True
283SESSION_ENGINE = 'django.contrib.sessions.backends.db'
284SESSION_EXPIRE_AT_BROWSER_CLOSE = False
285SESSION_FILE_PATH = None
286SESSION_SAVE_EVERY_REQUEST = False
287SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
288SETTINGS_MODULE = 'app.settings'
289SHORT_DATETIME_FORMAT = 'm/d/Y P'
290SHORT_DATE_FORMAT = 'm/d/Y'
291SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
292SILENCED_SYSTEM_CHECKS = []
293SITE_ID = 1
294STATICFILES_DIRS = []
295STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
296STATICFILES_STORAGE = 'markup.storages.DjsManifestStaticFilesStorage'
297STATIC_ROOT = PosixPath('/home/totis/totis/totis/server/app/static')
298STATIC_URL = '/static/'
299TEMPLATES = [{'BACKEND': 'django_jinja.backend.Jinja2', 'NAME': 'jinja2', 'APP_DIRS': True, 'DIRS': ['markup'], 'OPTIONS': {'environment': 'shared.env.jinja2.environment', 'match_extension': '.jinja', 'newstyle_gettext': True, 'auto_reload': True, 'undefined': <class 'jinja2.runtime.Undefined'>, 'debug': True, 'filters': {'contains': 'apps.catalog.globals.contains', 'pretty_date': 'apps.website.globals.pretty_date', 'day_of_week': 'apps.website.globals.day_of_week', 'rfc3966_phone': 'apps.website.globals.rfc3966_phone', 'e164_phone': 'apps.website.globals.e164_phone', 'title': 'apps.website.globals.title'}, 'globals': {'max': 'apps.website.globals._max', 'min': 'apps.website.globals._min', 'total_public_accounts': 'apps.catalog.globals.total_public_accounts', 'set_query': 'apps.catalog.globals.set_query', 'set_or_attr': 'apps.catalog.globals.set_or_attr', 'set_and_attr': 'apps.catalog.globals.set_and_attr', 'get_catalog_h1': 'apps.catalog.globals.get_catalog_h1', 'meta': 'apps.website.globals.meta', 'get_full_seo': 'apps.website.globals.get_full_seo', 'and_param': 'apps.catalog.globals.and_param', 'or_param': 'apps.catalog.globals.or_param', 'and_attr_values': 'apps.catalog.globals.and_attr_values', 'or_attr_values': 'apps.catalog.globals.or_attr_values', 'get_file_url': 'apps.website.globals.get_file_url', 'verbose_total_reviews': 'apps.website.globals.verbose_total_reviews', 'verbose_total_events': 'apps.website.globals.verbose_total_events', 'get_event_head': 'apps.website.globals.get_event_head', 'localtime': 'apps.website.globals.localtime', 'show_recommended_price': 'apps.clientele.globals.show_recommended_price'}, '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.preferences', 'apps.website.context_processors.website_detail', 'apps.website.context_processors.default_seo', 'apps.clientele.context_processors.header_menu', 'apps.catalog.context_processors.cart', 'apps.catalog.context_processors.brands'], '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']}}]
300TEST_NON_SERIALIZED_APPS = []
301TEST_RUNNER = 'django.test.runner.DiscoverRunner'
302THOUSAND_SEPARATOR = ','
303TIME_FORMAT = 'P'
304TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
305TIME_ZONE = 'UTC'
306UPLOAD_SESSION_KEY = '********************'
307USE_ETAGS = False
308USE_I18N = True
309USE_L10N = True
310USE_THOUSAND_SEPARATOR = False
311USE_TZ = True
312USE_X_FORWARDED_HOST = False
313USE_X_FORWARDED_PORT = False
314WSGI_APPLICATION = 'app.wsgi.application'
315X_FRAME_OPTIONS = 'DENY'
316YEAR_MONTH_FORMAT = 'F Y'
317
318
319You're seeing this error because you have DEBUG = True in your
320Django settings file. Change that to False, and Django will
321display a standard page generated by the handler for this status code.