· 4 years ago · Nov 22, 2020, 06:40 PM
1AttributeError at /admin/contacts/branch/3/change/
2'NoneType' object has no attribute 'coords'
3Request Method: POST
4Request URL: http://pnevmat.webcase-dev.com/admin/contacts/branch/3/change/
5Django Version: 3.1.3
6Exception Type: AttributeError
7Exception Value:
8'NoneType' object has no attribute 'coords'
9Exception Location: /home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/mapwidgets/widgets.py, line 98, in render
10Python Executable: /home/pneumat_website/pneumat_website/pneumat_website/server/.venv/bin/python3.8
11Python Version: 3.8.0
12Python Path:
13['/home/pneumat_website/pneumat_website/pneumat_website/server',
14 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/bin',
15 '/usr/lib/python38.zip',
16 '/usr/lib/python3.8',
17 '/usr/lib/python3.8/lib-dynload',
18 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages',
19 '/home/pneumat_website/pneumat_website/pneumat_website/server/packages/px-settings',
20 '/home/pneumat_website/pneumat_website/pneumat_website/server/packages/px-django-dogpile-cache',
21 '/home/pneumat_website/pneumat_website/pneumat_website/server/packages/cy-cart',
22 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/src/django-awesome-standards',
23 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/src/django-composable-views',
24 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/src/django-jet',
25 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/src/django-vuejs-translate',
26 '/home/pneumat_website/pneumat_website/pneumat_website/server/packages/px-django-canned-cache',
27 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
28 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
29 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
30 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
31 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
32 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf',
33 '/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/odf']
34Server time: Sun, 22 Nov 2020 18:30:39 +0000
35Error during template rendering
36In template /home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/jet/templates/admin/includes/fieldset.html, error at line 20
37
38'NoneType' object has no attribute 'coords'
3910 {% for field in line %}
4011 <div{% if not line.fields|length_is:'1' %} class="field-box{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}{% if field.field.is_hidden %} hidden{% endif %}"{% elif field.is_checkbox %} class="checkbox-row"{% endif %}>
4112 {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %}
4213 {% if field.is_checkbox %}
4314 {{ field.field }}{{ field.label_tag }}
4415 {% else %}
4516 {{ field.label_tag }}
4617 {% if field.is_readonly %}
4718 <p>{{ field.contents }}</p>
4819 {% else %}
4920 {{ field.field|jet_select2_lookups }}
5021 {% endif %}
5122 {% endif %}
5223 {% if field.field.help_text %}
5324 <p class="help">{{ field.field.help_text|safe }}</p>
5425 {% endif %}
5526 </div>
5627 {% endfor %}
5728 </div>
5829 {% endfor %}
5930 </fieldset>
60Traceback Switch to copy-and-paste view
61/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py, line 47, in inner
62 response = get_response(request) …
63▶ Local vars
64/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py, line 202, in _get_response
65 response = response.render() …
66▶ Local vars
67/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/response.py, line 105, in render
68 self.content = self.rendered_content …
69▶ Local vars
70/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/response.py, line 83, in rendered_content
71 return template.render(context, self._request) …
72▶ Local vars
73/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/backends/django.py, line 61, in render
74 return self.template.render(context) …
75▶ Local vars
76/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 170, in render
77 return self._render(context) …
78▶ Local vars
79/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
80 return self.nodelist.render(context) …
81▶ Local vars
82/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
83 bit = node.render_annotated(context) …
84▶ Local vars
85/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
86 return self.render(context) …
87▶ Local vars
88/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 150, in render
89 return compiled_parent._render(context) …
90▶ Local vars
91/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
92 return self.nodelist.render(context) …
93▶ Local vars
94/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
95 bit = node.render_annotated(context) …
96▶ Local vars
97/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
98 return self.render(context) …
99▶ Local vars
100/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 150, in render
101 return compiled_parent._render(context) …
102▶ Local vars
103/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
104 return self.nodelist.render(context) …
105▶ Local vars
106/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
107 bit = node.render_annotated(context) …
108▶ Local vars
109/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
110 return self.render(context) …
111▶ Local vars
112/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 150, in render
113 return compiled_parent._render(context) …
114▶ Local vars
115/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
116 return self.nodelist.render(context) …
117▶ Local vars
118/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
119 bit = node.render_annotated(context) …
120▶ Local vars
121/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
122 return self.render(context) …
123▶ Local vars
124/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 62, in render
125 result = block.nodelist.render(context) …
126▶ Local vars
127/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
128 bit = node.render_annotated(context) …
129▶ Local vars
130/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
131 return self.render(context) …
132▶ Local vars
133/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 62, in render
134 result = block.nodelist.render(context) …
135▶ Local vars
136/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
137 bit = node.render_annotated(context) …
138▶ Local vars
139/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
140 return self.render(context) …
141▶ Local vars
142/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 62, in render
143 result = block.nodelist.render(context) …
144▶ Local vars
145/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
146 bit = node.render_annotated(context) …
147▶ Local vars
148/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
149 return self.render(context) …
150▶ Local vars
151/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/defaulttags.py, line 211, in render
152 nodelist.append(node.render_annotated(context)) …
153▶ Local vars
154/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
155 return self.render(context) …
156▶ Local vars
157/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/loader_tags.py, line 192, in render
158 return template.render(context) …
159▶ Local vars
160/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 172, in render
161 return self._render(context) …
162▶ Local vars
163/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 162, in _render
164 return self.nodelist.render(context) …
165▶ Local vars
166/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
167 bit = node.render_annotated(context) …
168▶ Local vars
169/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
170 return self.render(context) …
171▶ Local vars
172/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/defaulttags.py, line 211, in render
173 nodelist.append(node.render_annotated(context)) …
174▶ Local vars
175/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
176 return self.render(context) …
177▶ Local vars
178/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/defaulttags.py, line 211, in render
179 nodelist.append(node.render_annotated(context)) …
180▶ Local vars
181/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
182 return self.render(context) …
183▶ Local vars
184/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/defaulttags.py, line 312, in render
185 return nodelist.render(context) …
186▶ Local vars
187/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
188 bit = node.render_annotated(context) …
189▶ Local vars
190/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
191 return self.render(context) …
192▶ Local vars
193/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/defaulttags.py, line 312, in render
194 return nodelist.render(context) …
195▶ Local vars
196/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 938, in render
197 bit = node.render_annotated(context) …
198▶ Local vars
199/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 905, in render_annotated
200 return self.render(context) …
201▶ Local vars
202/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 994, in render
203 return render_value_in_context(output, context) …
204▶ Local vars
205/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/template/base.py, line 973, in render_value_in_context
206 value = str(value) …
207▶ Local vars
208/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/utils/html.py, line 376, in <lambda>
209 klass.__str__ = lambda self: mark_safe(klass_str(self)) …
210▶ Local vars
211/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/forms/boundfield.py, line 34, in __str__
212 return self.as_widget() …
213▶ Local vars
214/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/django/forms/boundfield.py, line 93, in as_widget
215 return widget.render( …
216▶ Local vars
217/home/pneumat_website/pneumat_website/pneumat_website/server/.venv/lib/python3.8/site-packages/mapwidgets/widgets.py, line 98, in render
218 longitude, latitude = value.coords …
219▶ Local vars
220Request information
221USER
222ad
223
224GET
225No GET data
226
227POST
228Variable Value
229csrfmiddlewaretoken
230'J0kwgfunaOXXBtCMePd1AV72AwhcmFiEWdmaHh1d9qHvWeQJzw3ilAxrHKj8WGAe'
231coords
232'POINT (24.05255891086933 49.83463210006516, )'
233title_pl
234''
235title_uk
236'ТОВ "ПНЕВМАТ"'
237title_ru
238'ООО "ПНЕВМАТ"'
239info_pl
240''
241info_uk
242('79014, Львівська обл., місто Львів, Личаківський район, ВУЛИЦЯ МЕЧНІКОВА, '
243 'будинок 19, квартира 12')
244info_ru
245('79014, Львивська обл., мисто Львив, Личакивський район, ВУЛИЦЯ МЕЧНИКОВА, '
246 'будинок 19, квартира 12')
247_continue
248'Сохранить и продолжить редактирование'
249FILES
250No FILES data
251
252COOKIES
253Variable Value
254_ga
255'GA1.2.625007484.1600329178'
256_gcl_au
257'1.1.791534278.1603188708'
258_hjid
259'a87b1af9-4983-4922-91c1-f0eeed06fa6f'
260sidebar_pinned
261'false'
262csrftoken
263'rztfDaKP8A43CPlkWeRrs8zWxLRkjcv7EMvT4chF7cOBXAzhhVHIdNZlEZTgTdNH'
264sessionid
265'kpm210u7291vr9aih3myx2nbgt2m89ga'
266META
267Variable Value
268CONTENT_LENGTH
269'1460'
270CONTENT_TYPE
271'application/x-www-form-urlencoded'
272CSRF_COOKIE
273'rztfDaKP8A43CPlkWeRrs8zWxLRkjcv7EMvT4chF7cOBXAzhhVHIdNZlEZTgTdNH'
274CSRF_COOKIE_USED
275True
276HTTP_ACCEPT
277'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'
278HTTP_ACCEPT_ENCODING
279'gzip, deflate, br'
280HTTP_ACCEPT_LANGUAGE
281'ru,en-US;q=0.9,en;q=0.8,uk;q=0.7'
282HTTP_CACHE_CONTROL
283'max-age=0'
284HTTP_CONNECTION
285'close'
286HTTP_COOKIE
287('_ga=GA1.2.625007484.1600329178; _gcl_au=1.1.791534278.1603188708; '
288 '_hjid=a87b1af9-4983-4922-91c1-f0eeed06fa6f; sidebar_pinned=false; '
289 'csrftoken=rztfDaKP8A43CPlkWeRrs8zWxLRkjcv7EMvT4chF7cOBXAzhhVHIdNZlEZTgTdNH; '
290 'sessionid=kpm210u7291vr9aih3myx2nbgt2m89ga')
291HTTP_DNT
292'1'
293HTTP_HOST
294'pnevmat.webcase-dev.com'
295HTTP_ORIGIN
296'https://pnevmat.webcase-dev.com'
297HTTP_REFERER
298'https://pnevmat.webcase-dev.com/admin/contacts/branch/3/change/'
299HTTP_SEC_FETCH_DEST
300'document'
301HTTP_SEC_FETCH_MODE
302'navigate'
303HTTP_SEC_FETCH_SITE
304'same-origin'
305HTTP_SEC_FETCH_USER
306'?1'
307HTTP_UPGRADE_INSECURE_REQUESTS
308'1'
309HTTP_USER_AGENT
310('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
311 'Gecko) Chrome/86.0.4240.198 Safari/537.36')
312HTTP_X_FORWARDED_FOR
313'89.21.77.60'
314PATH_INFO
315'/admin/contacts/branch/3/change/'
316QUERY_STRING
317''
318RAW_URI
319'/admin/contacts/branch/3/change/'
320REMOTE_ADDR
321''
322REQUEST_METHOD
323'POST'
324SCRIPT_NAME
325''
326SERVER_NAME
327'pnevmat.webcase-dev.com'
328SERVER_PORT
329'80'
330SERVER_PROTOCOL
331'HTTP/1.0'
332SERVER_SOFTWARE
333'gunicorn/20.0.4'
334gunicorn.socket
335<gevent._socket3.socket at 0x7fc64f8589f0 object, fd=17, family=1, type=1, proto=0>
336wsgi.errors
337<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fc64d6eb4f0>
338wsgi.file_wrapper
339<class 'gunicorn.http.wsgi.FileWrapper'>
340wsgi.input
341<gunicorn.http.body.Body object at 0x7fc64f488fd0>
342wsgi.input_terminated
343True
344wsgi.multiprocess
345True
346wsgi.multithread
347True
348wsgi.run_once
349False
350wsgi.url_scheme
351'http'
352wsgi.version
353(1, 0)
354Settings
355Using settings module app.settings
356Setting Value
357ABSOLUTE_URL_OVERRIDES
358{}
359ADMINS
360[]
361ALLOWED_HOSTS
362['pnevmat.webcase-dev.com', '64.227.123.124']
363APPEND_SLASH
364True
365AUTHENTICATION_BACKENDS
366['django.contrib.auth.backends.ModelBackend',
367 'apps.staff.authentication.EmailBackend']
368AUTH_PASSWORD_VALIDATORS
369'********************'
370AUTH_USER_MODEL
371'staff.User'
372BASE_DIR
373PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/settings/default.py')
374BASE_ROOT
375PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app')
376CACHES
377{'default': {'BACKEND': 'django_redis.cache.RedisCache',
378 'LOCATION': 'redis://127.0.0.1:6379/1'}}
379CACHE_MIDDLEWARE_ALIAS
380'default'
381CACHE_MIDDLEWARE_KEY_PREFIX
382'********************'
383CACHE_MIDDLEWARE_SECONDS
384600
385CELERY_ACCEPT_CONTENT
386['json']
387CELERY_BROKER_URL
388'redis://127.0.0.1:6379/0'
389CELERY_RESULT_SERIALIZER
390'json'
391CELERY_TASK_SERIALIZER
392'json'
393CKEDITOR_CONFIGS
394{'default': {'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,autogrow,widget,lineutils,clipboard,dialog,dialogui,elementspath',
395 'skin': 'moono',
396 'tabSpaces': 4,
397 'toolbar': 'YourCustomToolbarConfig',
398 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']],
399 'toolbar_YourCustomToolbarConfig': [{'items': ['Source',
400 '-',
401 'Save',
402 'NewPage',
403 'Preview',
404 'Print',
405 '-',
406 'Templates'],
407 'name': 'document'},
408 {'items': ['Cut',
409 'Copy',
410 'Paste',
411 'PasteText',
412 'PasteFromWord',
413 '-',
414 'Undo',
415 'Redo'],
416 'name': 'clipboard'},
417 {'items': ['Find',
418 'Replace',
419 '-',
420 'SelectAll'],
421 'name': 'editing'},
422 {'items': ['Form',
423 'Checkbox',
424 'Radio',
425 'TextField',
426 'Textarea',
427 'Select',
428 'Button',
429 'ImageButton',
430 'HiddenField'],
431 'name': 'forms'},
432 '/',
433 {'items': ['Bold',
434 'Italic',
435 'Underline',
436 'Strike',
437 'Subscript',
438 'Superscript',
439 '-',
440 'RemoveFormat'],
441 'name': 'basicstyles'},
442 {'items': ['NumberedList',
443 'BulletedList',
444 '-',
445 'Outdent',
446 'Indent',
447 '-',
448 'Blockquote',
449 'CreateDiv',
450 '-',
451 'JustifyLeft',
452 'JustifyCenter',
453 'JustifyRight',
454 'JustifyBlock',
455 '-',
456 'BidiLtr',
457 'BidiRtl',
458 'Language'],
459 'name': 'paragraph'},
460 {'items': ['Link',
461 'Unlink',
462 'Anchor'],
463 'name': 'links'},
464 {'items': ['Image',
465 'Flash',
466 'Table',
467 'HorizontalRule',
468 'Smiley',
469 'SpecialChar',
470 'PageBreak',
471 'Iframe'],
472 'name': 'insert'},
473 '/',
474 {'items': ['Styles',
475 'Format',
476 'Font',
477 'FontSize'],
478 'name': 'styles'},
479 {'items': ['TextColor',
480 'BGColor'],
481 'name': 'colors'},
482 {'items': ['Maximize',
483 'ShowBlocks'],
484 'name': 'tools'},
485 {'items': ['About'],
486 'name': 'about'},
487 '/',
488 {'items': ['Preview',
489 'Maximize'],
490 'name': 'yourcustomtools'}]}}
491CKEDITOR_UPLOAD_PATH
492PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/uploads')
493CSRF_COOKIE_AGE
49431449600
495CSRF_COOKIE_DOMAIN
496None
497CSRF_COOKIE_HTTPONLY
498False
499CSRF_COOKIE_NAME
500'csrftoken'
501CSRF_COOKIE_PATH
502'/'
503CSRF_COOKIE_SAMESITE
504'Lax'
505CSRF_COOKIE_SECURE
506False
507CSRF_FAILURE_VIEW
508'django.views.csrf.csrf_failure'
509CSRF_HEADER_NAME
510'HTTP_X_CSRFTOKEN'
511CSRF_TRUSTED_ORIGINS
512[]
513CSRF_USE_SESSIONS
514False
515DATABASES
516{'default': {'ATOMIC_REQUESTS': False,
517 'AUTOCOMMIT': True,
518 'CONN_MAX_AGE': 0,
519 'ENGINE': 'django.contrib.gis.db.backends.postgis',
520 'HOST': '127.0.0.1',
521 'NAME': 'pneumat_website_db',
522 'OPTIONS': {},
523 'PASSWORD': '********************',
524 'PORT': 5432,
525 'TEST': {'CHARSET': None,
526 'COLLATION': None,
527 'MIGRATE': True,
528 'MIRROR': None,
529 'NAME': None},
530 'TIME_ZONE': None,
531 'USER': 'pneumat_website_db'}}
532DATABASE_ROUTERS
533[]
534DATA_UPLOAD_MAX_MEMORY_SIZE
5352621440
536DATA_UPLOAD_MAX_NUMBER_FIELDS
5371000
538DATETIME_FORMAT
539'N j, Y, P'
540DATETIME_INPUT_FORMATS
541['%Y-%m-%d %H:%M:%S',
542 '%Y-%m-%d %H:%M:%S.%f',
543 '%Y-%m-%d %H:%M',
544 '%m/%d/%Y %H:%M:%S',
545 '%m/%d/%Y %H:%M:%S.%f',
546 '%m/%d/%Y %H:%M',
547 '%m/%d/%y %H:%M:%S',
548 '%m/%d/%y %H:%M:%S.%f',
549 '%m/%d/%y %H:%M']
550DATE_FORMAT
551'N j, Y'
552DATE_INPUT_FORMATS
553['%Y-%m-%d',
554 '%m/%d/%Y',
555 '%m/%d/%y',
556 '%b %d %Y',
557 '%b %d, %Y',
558 '%d %b %Y',
559 '%d %b, %Y',
560 '%B %d %Y',
561 '%B %d, %Y',
562 '%d %B %Y',
563 '%d %B, %Y']
564DEBUG
565True
566DEBUG_PROPAGATE_EXCEPTIONS
567False
568DECIMAL_SEPARATOR
569'.'
570DEFAULT_CHARSET
571'utf-8'
572DEFAULT_EXCEPTION_REPORTER
573'django.views.debug.ExceptionReporter'
574DEFAULT_EXCEPTION_REPORTER_FILTER
575'django.views.debug.SafeExceptionReporterFilter'
576DEFAULT_EXTENSIONS
577['jinja2.ext.do',
578 'jinja2.ext.loopcontrols',
579 'jinja2.ext.with_',
580 'jinja2.ext.i18n',
581 'jinja2.ext.autoescape',
582 'django_jinja.builtins.extensions.DebugExtension',
583 'django_jinja.builtins.extensions.CsrfExtension',
584 'django_jinja.builtins.extensions.CacheExtension',
585 'django_jinja.builtins.extensions.TimezoneExtension',
586 'django_jinja.builtins.extensions.UrlsExtension',
587 'django_jinja.builtins.extensions.StaticFilesExtension',
588 'django_jinja.builtins.extensions.DjangoFiltersExtension']
589DEFAULT_FILE_STORAGE
590'django.core.files.storage.FileSystemStorage'
591DEFAULT_FROM_EMAIL
592'admin@admin.admin'
593DEFAULT_HASHING_ALGORITHM
594'sha256'
595DEFAULT_INDEX_TABLESPACE
596''
597DEFAULT_TABLESPACE
598''
599DISALLOWED_USER_AGENTS
600[]
601DJANGO_SHOP_CART
602{'CART_ITEM_SERIALIZERS': {'apps.shop.models.Product': 'apps.shop.serializers.CartProductSerializer'}}
603DRF_RECAPTCHA_SECRET_KEY
604'********************'
605EMAIL_BACKEND
606'des.backends.ConfiguredEmailBackend'
607EMAIL_HOST
608'localhost'
609EMAIL_HOST_PASSWORD
610'********************'
611EMAIL_HOST_USER
612''
613EMAIL_PORT
61425
615EMAIL_SSL_CERTFILE
616None
617EMAIL_SSL_KEYFILE
618'********************'
619EMAIL_SUBJECT_PREFIX
620'[Django] '
621EMAIL_TIMEOUT
622None
623EMAIL_USE_LOCALTIME
624False
625EMAIL_USE_SSL
626False
627EMAIL_USE_TLS
628False
629FILE_CHARSET
630None
631FILE_UPLOAD_DIRECTORY_PERMISSIONS
632None
633FILE_UPLOAD_HANDLERS
634['django.core.files.uploadhandler.MemoryFileUploadHandler',
635 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
636FILE_UPLOAD_MAX_MEMORY_SIZE
6372621440
638FILE_UPLOAD_PERMISSIONS
639420
640FILE_UPLOAD_TEMP_DIR
641None
642FIRST_DAY_OF_WEEK
6430
644FIXTURE_DIRS
645[]
646FORCE_SCRIPT_NAME
647None
648FORMAT_MODULE_PATH
649None
650FORM_RENDERER
651'django.forms.renderers.DjangoTemplates'
652FTP_AVAILABILITY_DOWNLOAD
653PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/uploads')
654FTP_AVAILABILITY_FILE
655'Pneumat_Item_Availability.csv'
656FTP_AVAILABILITY_HOST
657'80.50.148.158'
658FTP_AVAILABILITY_PASSWORD
659'********************'
660FTP_AVAILABILITY_PATH
661'Pneumat_Item_Availability'
662FTP_AVAILABILITY_PORT
663'8752'
664FTP_AVAILABILITY_USER
665'N37558'
666FULLTEXT_LANGUAGES
667{'ru': 'russian', 'uk': 'ukrainian'}
668GOOGLE_MAP_API_KEY
669'********************'
670GUNICORN_PID
671'/run/pneumat_website_gunicorn/pneumat_website_gunicorn.pid'
672IGNORABLE_404_URLS
673[]
674IMPORT_UPLOADS_BASE_URL
675'https://pnparser.webcase-dev.com/uploads'
676INSTALLED_APPS
677['markup',
678 'shared',
679 'apps.importer',
680 'apps.staff',
681 'apps.shop',
682 'apps.novaposhta',
683 'apps.news',
684 'apps.streamblocks',
685 'apps.pages',
686 'apps.menu',
687 'apps.contacts',
688 'apps.reviews',
689 'apps.settings',
690 'apps.wishlist',
691 'apps.comparison',
692 'apps.checkout',
693 'apps.export',
694 'jet',
695 'seo',
696 'rosetta',
697 'rest_framework',
698 'django_filters',
699 'standards',
700 'mptt',
701 'django_jinja',
702 'solo',
703 'adminsortable2',
704 'drf_recaptcha',
705 'drf_yasg',
706 'postie',
707 'parler',
708 'codemirror2',
709 'ckeditor',
710 'ckeditor_uploader',
711 'des',
712 'vuejs_translate',
713 'modeltranslation',
714 'streamfield',
715 'mapwidgets',
716 'jsoneditor',
717 'import_export',
718 'qsessions',
719 'robots',
720 'rest_framework_tracking',
721 'cy_cart',
722 'cy_cart.integrations.django',
723 'dj_template_admin_urls',
724 'django.contrib.gis',
725 'django.contrib.admin',
726 'django.contrib.auth',
727 'django.contrib.contenttypes',
728 'django.contrib.sessions',
729 'django.contrib.messages',
730 'django.contrib.staticfiles',
731 'django.contrib.sites']
732INTERNAL_IPS
733[]
734JET_SIDE_MENU_COMPACT
735True
736LANGUAGES
737(('ru', 'Русский'), ('uk', 'Украинский'))
738LANGUAGES_BIDI
739['he', 'ar', 'ar-dz', 'fa', 'ur']
740LANGUAGE_CODE
741'ru'
742LANGUAGE_COOKIE_AGE
743None
744LANGUAGE_COOKIE_DOMAIN
745None
746LANGUAGE_COOKIE_HTTPONLY
747False
748LANGUAGE_COOKIE_NAME
749'django_language'
750LANGUAGE_COOKIE_PATH
751'/'
752LANGUAGE_COOKIE_SAMESITE
753None
754LANGUAGE_COOKIE_SECURE
755False
756LOCALE_PATHS
757(PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/locale'),)
758LOGGING
759{'disable_existing_loggers': False,
760 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'DEBUG'},
761 'logfile': {'class': 'logging.FileHandler',
762 'filename': PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/settings/default.py/../logfile.log'),
763 'level': 'DEBUG'}},
764 'root': {'handlers': ['console', 'logfile'], 'level': 'INFO'},
765 'version': 1}
766LOGGING_CONFIG
767'logging.config.dictConfig'
768LOGIN_REDIRECT_URL
769'/accounts/profile/'
770LOGIN_URL
771'/auth/login/'
772LOGOUT_REDIRECT_URL
773'/'
774MANAGERS
775[]
776MAP_WIDGETS
777{'GOOGLE_MAP_API_KEY': '********************'}
778MEDIA_ROOT
779PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/uploads')
780MEDIA_URL
781'/uploads/'
782MESSAGE_STORAGE
783'django.contrib.messages.storage.fallback.FallbackStorage'
784MIDDLEWARE
785['django.middleware.security.SecurityMiddleware',
786 'qsessions.middleware.SessionMiddleware',
787 'django_session_timeout.middleware.SessionTimeoutMiddleware',
788 'django.middleware.locale.LocaleMiddleware',
789 'django.middleware.common.CommonMiddleware',
790 'django.middleware.csrf.CsrfViewMiddleware',
791 'django.contrib.auth.middleware.AuthenticationMiddleware',
792 'django.contrib.messages.middleware.MessageMiddleware',
793 'django.middleware.clickjacking.XFrameOptionsMiddleware']
794MIGRATION_MODULES
795{}
796MODELTRANSLATION_CUSTOM_FIELDS
797('JSONField', 'SearchVectorField')
798MODELTRANSLATION_DEFAULT_LANGUAGE
799'uk'
800MODELTRANSLATION_FALLBACK_LANGUAGES
801('ru', 'uk', 'pl')
802MODELTRANSLATION_LANGUAGES
803('pl', 'uk', 'ru')
804MONTH_DAY_FORMAT
805'F j'
806NUMBER_GROUPING
8070
808PASSWORD_HASHERS
809'********************'
810PASSWORD_RESET_TIMEOUT
811'********************'
812PASSWORD_RESET_TIMEOUT_DAYS
813'********************'
814POSTIE_INSTANT_SEND
815False
816POSTIE_TEMPLATE_CHOICES
817(('confirm_email', 'Confirm email'),
818 ('admin_new_user', 'Admin check new user'),
819 ('user_refusal_registration', 'User account refusal registration'),
820 ('password_reset', 'User password reset'),
821 ('callback_email', 'Обратная связь'),
822 ('callback_phone', 'Перезвонить'),
823 ('new_request', 'New request'),
824 ('new_question', 'New question'),
825 ('new_contact_request', 'New contact request'))
826POSTIE_TEMPLATE_CONTEXTS
827{'admin_new_user': {'email': 'User email', 'url': 'Admin new user'},
828 'callback_email': {'email': 'User email', 'employee': 'Employee username'},
829 'callback_phone': {'email': 'User phone', 'employee': 'Employee username'},
830 'confirm_email': {'email': 'User email', 'url': 'Confirmation email url'},
831 'new_contact_request': {'admin_url': 'ссылка на запрос пользователя в админ-панели',
832 'comment': 'вопрос',
833 'email': 'Адрес электронной почты',
834 'phone': 'Номер телефона',
835 'username': 'ФИО'},
836 'new_question': {'admin_url': 'ссылка на вопрос пользователя в админ-панели',
837 'email': 'Адрес электронной почты',
838 'phone': 'Номер телефона',
839 'question': 'вопрос',
840 'username': 'ФИО'},
841 'new_request': {'code': 'Код товара',
842 'comment': 'Комментарий пользователя',
843 'email': 'Адрес электронной почты',
844 'itn': 'ИНН',
845 'phone': 'Номер телефона',
846 'username': 'Имя и фамилия'},
847 'password_reset': '********************',
848 'user_refusal_registration': {'email': 'User email',
849 'reason': 'User registration refusal reason'}}
850PREPEND_WWW
851False
852PROJECT_APPS
853['markup',
854 'shared',
855 'apps.importer',
856 'apps.staff',
857 'apps.shop',
858 'apps.novaposhta',
859 'apps.news',
860 'apps.streamblocks',
861 'apps.pages',
862 'apps.menu',
863 'apps.contacts',
864 'apps.reviews',
865 'apps.settings',
866 'apps.wishlist',
867 'apps.comparison',
868 'apps.checkout',
869 'apps.export']
870PXD_CANNED_CACHE
871{'UPDATE_TASK_LOCATION': 'shared.tasks.update_cache_task'}
872REST_FRAMEWORK
873{'DEFAULT_METADATA_CLASS': 'standards.drf.metadata.FieldsetMetadata',
874 'DEFAULT_PARSER_CLASSES': ('djangorestframework_camel_case.parser.CamelCaseJSONParser',
875 'djangorestframework_camel_case.parser.CamelCaseFormParser',
876 'djangorestframework_camel_case.parser.CamelCaseMultiPartParser'),
877 'DEFAULT_RENDERER_CLASSES': ('djangorestframework_camel_case.render.CamelCaseJSONRenderer',
878 'djangorestframework_camel_case.render.CamelCaseBrowsableAPIRenderer'),
879 'EXCEPTION_HANDLER': 'standards.drf.handlers.exception_handler'}
880ROOT_URLCONF
881'app.urls'
882ROSETTA_SHOW_AT_ADMIN_PANEL
883True
884SECRET_KEY
885'********************'
886SECURE_BROWSER_XSS_FILTER
887False
888SECURE_CONTENT_TYPE_NOSNIFF
889True
890SECURE_HSTS_INCLUDE_SUBDOMAINS
891False
892SECURE_HSTS_PRELOAD
893False
894SECURE_HSTS_SECONDS
8950
896SECURE_PROXY_SSL_HEADER
897None
898SECURE_REDIRECT_EXEMPT
899[]
900SECURE_REFERRER_POLICY
901'same-origin'
902SECURE_SSL_HOST
903None
904SECURE_SSL_REDIRECT
905False
906SEO_HTML_ADMIN_WIDGET
907{'widget': 'CKEditorUploadingWidget',
908 'widget_path': 'ckeditor_uploader.widgets'}
909SEO_MODELS
910['shop.Category',
911 'shop.Product',
912 'shop.ProductGroup',
913 'news.Category',
914 'news.News',
915 'pages.Page',
916 'pages.FAQPage',
917 'pages.Index',
918 'pages.HistoryPage',
919 'pages.FilesPage',
920 'pages.TechnologicalPage',
921 'pages.ContactsPage',
922 'pages.MediaPage',
923 'pages.AwardsPage']
924SEO_VIEWS_CHOICES
925(('news', 'News index'),)
926SEO_VIEWS_CONTEXT_NAME
927'instance_seo'
928SERVER_EMAIL
929'root@localhost'
930SESSION_CACHE_ALIAS
931'default'
932SESSION_COOKIE_AGE
9331209600
934SESSION_COOKIE_DOMAIN
935None
936SESSION_COOKIE_HTTPONLY
937True
938SESSION_COOKIE_NAME
939'sessionid'
940SESSION_COOKIE_PATH
941'/'
942SESSION_COOKIE_SAMESITE
943'Lax'
944SESSION_COOKIE_SECURE
945False
946SESSION_ENGINE
947'qsessions.backends.cached_db'
948SESSION_EXPIRE_AFTER_LAST_ACTIVITY
949True
950SESSION_EXPIRE_AT_BROWSER_CLOSE
951False
952SESSION_EXPIRE_SECONDS
9533600
954SESSION_FILE_PATH
955None
956SESSION_SAVE_EVERY_REQUEST
957False
958SESSION_SERIALIZER
959'django.contrib.sessions.serializers.JSONSerializer'
960SESSION_TIMEOUT_TO_REDIRECT
961False
962SETTINGS_MODULE
963'app.settings'
964SHORT_DATETIME_FORMAT
965'm/d/Y P'
966SHORT_DATE_FORMAT
967'm/d/Y'
968SIGNING_BACKEND
969'django.core.signing.TimestampSigner'
970SILENCED_SYSTEM_CHECKS
971[]
972SITE_ID
9731
974SOLO_CACHE
975'default'
976STATICFILES_DIRS
977[]
978STATICFILES_FINDERS
979['django.contrib.staticfiles.finders.FileSystemFinder',
980 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
981STATICFILES_STORAGE
982'django.contrib.staticfiles.storage.StaticFilesStorage'
983STATIC_ROOT
984PosixPath('/home/pneumat_website/pneumat_website/pneumat_website/server/app/static')
985STATIC_URL
986'/static/'
987STREAMFIELD_STREAMBLOCKS_APP_PATH
988'apps.streamblocks'
989SWAGGER_SETTINGS
990{'DEFAULT_PAGINATOR_INSPECTORS': ['shared.inspectors.StandardsPaginatorInspector',
991 'drf_yasg.inspectors.DjangoRestResponsePagination',
992 'drf_yasg.inspectors.CoreAPICompatInspector'],
993 'SECURITY_DEFINITIONS': {'Bearer': {'in': 'header',
994 'name': 'EXPORT-KEY',
995 'type': 'apiKey'}}}
996TEMPLATES
997[{'APP_DIRS': True,
998 'BACKEND': 'django_jinja.backend.Jinja2',
999 'DIRS': [],
1000 'NAME': 'jinja2',
1001 'OPTIONS': {'auto_reload': True,
1002 'bytecode_cache': {'backend': 'django_jinja.cache.BytecodeCache',
1003 'enabled': True,
1004 'name': 'default'},
1005 'context_processors': ['django.contrib.auth.context_processors.auth',
1006 'django.template.context_processors.debug',
1007 'django.template.context_processors.i18n',
1008 'django.template.context_processors.media',
1009 'django.template.context_processors.static',
1010 'django.template.context_processors.tz',
1011 'django.contrib.messages.context_processors.messages',
1012 'seo.context_processors.seo'],
1013 'debug': True,
1014 'environment': 'shared.env.jinja2.environment',
1015 'extensions': ['jinja2.ext.do',
1016 'jinja2.ext.loopcontrols',
1017 'jinja2.ext.with_',
1018 'jinja2.ext.i18n',
1019 'jinja2.ext.autoescape',
1020 'django_jinja.builtins.extensions.DebugExtension',
1021 'django_jinja.builtins.extensions.CsrfExtension',
1022 'django_jinja.builtins.extensions.CacheExtension',
1023 'django_jinja.builtins.extensions.TimezoneExtension',
1024 'django_jinja.builtins.extensions.UrlsExtension',
1025 'django_jinja.builtins.extensions.StaticFilesExtension',
1026 'django_jinja.builtins.extensions.DjangoFiltersExtension'],
1027 'filters': {},
1028 'globals': {},
1029 'match_extension': '.jinja',
1030 'newstyle_gettext': True,
1031 'undefined': <class 'jinja2.runtime.Undefined'>}},
1032 {'APP_DIRS': True,
1033 'BACKEND': 'django.template.backends.django.DjangoTemplates',
1034 'DIRS': [],
1035 'OPTIONS': {'context_processors': ['django.template.context_processors.media',
1036 'django.template.context_processors.static',
1037 'django.template.context_processors.debug',
1038 'django.template.context_processors.request',
1039 'django.contrib.messages.context_processors.messages',
1040 'django.contrib.auth.context_processors.auth',
1041 'seo.context_processors.seo']}}]
1042TEST_NON_SERIALIZED_APPS
1043[]
1044TEST_RUNNER
1045'django.test.runner.DiscoverRunner'
1046THOUSAND_SEPARATOR
1047','
1048TIME_FORMAT
1049'P'
1050TIME_INPUT_FORMATS
1051['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
1052TIME_ZONE
1053'UTC'
1054USE_I18N
1055True
1056USE_L10N
1057True
1058USE_THOUSAND_SEPARATOR
1059False
1060USE_TZ
1061True
1062USE_X_FORWARDED_HOST
1063False
1064USE_X_FORWARDED_PORT
1065False
1066WSGI_APPLICATION
1067'app.wsgi.application'
1068X_FRAME_OPTIONS
1069'DENY'
1070YEAR_MONTH_FORMAT
1071'F Y'
1072You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.