· 6 years ago · Jun 24, 2019, 07:40 AM
1ValueError at /api/v1/chat/Mw/message/add/
2not enough values to unpack (expected 2, got 1)
3
4Request Method: POST
5Request URL: http://feodal.webcase-dev.site/api/v1/chat/Mw/message/add/
6Django Version: 2.1
7Python Executable: /home/feodal/feodal/feodal/server/.venv/bin/python3.7
8Python Version: 3.7.3
9Python Path: ['/home/feodal/feodal/feodal/server', '/home/feodal/feodal/feodal/server/.venv/bin', '/home/feodal/feodal/feodal/server/.venv/lib/python37.zip', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages']
10Server time: Пн, 24 Чер 2019 07:36:32 +0000
11Installed Applications:
12['markup',
13 'shared',
14 'apps.advertisement',
15 'apps.chat',
16 'apps.handling',
17 'apps.orders',
18 'apps.organization',
19 'apps.pages',
20 'apps.staff',
21 'adminsortable2',
22 'ckeditor',
23 'des',
24 'django_filters',
25 'django_jinja',
26 'jet',
27 'modeltranslation',
28 'parler',
29 'postie',
30 'seo',
31 'rest_framework',
32 'rest_framework.authtoken',
33 'rest_framework_recaptcha',
34 'robots',
35 'rosetta',
36 'script_pattern',
37 'solo',
38 'vuejs_translate',
39 'django.contrib.admin',
40 'django.contrib.auth',
41 'django.contrib.contenttypes',
42 'django.contrib.sessions',
43 'django.contrib.messages',
44 'django.contrib.staticfiles',
45 'django.contrib.sites',
46 'allauth',
47 'allauth.account',
48 'allauth.socialaccount',
49 'allauth.socialaccount.providers.google',
50 'allauth.socialaccount.providers.facebook',
51 'rest_auth',
52 'rest_auth.registration',
53 'mptt']
54Installed Middleware:
55['django.middleware.security.SecurityMiddleware',
56 'django.contrib.sessions.middleware.SessionMiddleware',
57 'django.middleware.common.CommonMiddleware',
58 'django.middleware.csrf.CsrfViewMiddleware',
59 'django.contrib.auth.middleware.AuthenticationMiddleware',
60 'django.contrib.messages.middleware.MessageMiddleware',
61 'django.middleware.clickjacking.XFrameOptionsMiddleware']
62
63
64Traceback:
65
66File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
67 34. response = get_response(request)
68
69File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
70 126. response = self.process_exception_by_middleware(e, request)
71
72File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
73 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
74
75File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
76 54. return view_func(*args, **kwargs)
77
78File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in view
79 68. return self.dispatch(request, *args, **kwargs)
80
81File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
82 495. response = self.handle_exception(exc)
83
84File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
85 455. self.raise_uncaught_exception(exc)
86
87File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
88 492. response = handler(request, *args, **kwargs)
89
90File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/generics.py" in post
91 192. return self.create(request, *args, **kwargs)
92
93File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py" in create
94 21. self.perform_create(serializer)
95
96File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py" in perform_create
97 26. serializer.save()
98
99File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in save
100 214. self.instance = self.create(validated_data)
101
102File "/home/feodal/feodal/feodal/server/apps/chat/api/serializers.py" in create
103 147. self.create_files(files)
104
105File "/home/feodal/feodal/feodal/server/apps/chat/api/serializers.py" in create_files
106 131. } for item in files
107
108File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in create
109 703. self.child.create(attrs) for attrs in validated_data
110
111File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in <listcomp>
112 703. self.child.create(attrs) for attrs in validated_data
113
114File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in create
115 943. instance = ModelClass._default_manager.create(**validated_data)
116
117File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
118 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
119
120File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/query.py" in create
121 413. obj.save(force_insert=True, using=self.db)
122
123File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/base.py" in save
124 717. force_update=force_update, update_fields=update_fields)
125
126File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/base.py" in save_base
127 747. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
128
129File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/base.py" in _save_table
130 830. result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
131
132File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/base.py" in _do_insert
133 868. using=using, raw=raw)
134
135File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
136 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
137
138File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/query.py" in _insert
139 1133. return query.get_compiler(using=using).execute_sql(return_id)
140
141File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
142 1284. for sql, params in self.as_sql():
143
144File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py" in as_sql
145 1237. for obj in self.query.objs
146
147File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py" in <listcomp>
148 1237. for obj in self.query.objs
149
150File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py" in <listcomp>
151 1236. [self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
152
153File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py" in pre_save_val
154 1188. return field.pre_save(obj, add=True)
155
156File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/fields/files.py" in pre_save
157 288. file.save(file.name, file.file, save=False)
158
159File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/fields/files.py" in save
160 86. name = self.field.generate_filename(self.instance, name)
161
162File "/home/feodal/feodal/feodal/server/shared/models/fields.py" in generate_filename
163 31. _name, _format = filename.rsplit('.', 1)
164
165Exception Type: ValueError at /api/v1/chat/Mw/message/add/
166Exception Value: not enough values to unpack (expected 2, got 1)
167Request information:
168USER: admin@gmail.com
169
170GET: No GET data
171
172POST: No POST data
173
174FILES: No FILES data
175
176COOKIES:
177sidebar_pinned = 'true'
178csrftoken = 'HaWQd5RMt9ZW2pjaGyvKDABl5SYMPziSfkVhUBnsNvUKh3isXctzoQeOtl10YZGk'
179sessionid = '6i5gt6hywmhv681iovztuodnqsr890hh'
180amplitude_id_6a71b2e4117775c7f74033b4e234fddawebcase-dev.site = 'eyJkZXZpY2VJZCI6ImY2MzZlZjA2LWU0NDYtNGE1NC1iNTI4LWZiYmRkZmEwYjU2NVIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTU2MTM2MTc1OTI5NiwibGFzdEV2ZW50VGltZSI6MTU2MTM2MTc2MjU0MiwiZXZlbnRJZCI6MTE2LCJpZGVudGlmeUlkIjowLCJzZXF1ZW5jZU51bWJlciI6MTE2fQ=='
181
182META:
183CONTENT_LENGTH = '2368'
184CONTENT_TYPE = 'application/json;charset=UTF-8'
185CSRF_COOKIE = 'HaWQd5RMt9ZW2pjaGyvKDABl5SYMPziSfkVhUBnsNvUKh3isXctzoQeOtl10YZGk'
186HTTP_ACCEPT = 'application/json, text/plain, */*'
187HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
188HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9,ru;q=0.8,ar;q=0.7'
189HTTP_CONNECTION = 'close'
190HTTP_COOKIE = 'sidebar_pinned=true; csrftoken=HaWQd5RMt9ZW2pjaGyvKDABl5SYMPziSfkVhUBnsNvUKh3isXctzoQeOtl10YZGk; sessionid=6i5gt6hywmhv681iovztuodnqsr890hh; amplitude_id_6a71b2e4117775c7f74033b4e234fddawebcase-dev.site=eyJkZXZpY2VJZCI6ImY2MzZlZjA2LWU0NDYtNGE1NC1iNTI4LWZiYmRkZmEwYjU2NVIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTU2MTM2MTc1OTI5NiwibGFzdEV2ZW50VGltZSI6MTU2MTM2MTc2MjU0MiwiZXZlbnRJZCI6MTE2LCJpZGVudGlmeUlkIjowLCJzZXF1ZW5jZU51bWJlciI6MTE2fQ=='
191HTTP_HOST = 'feodal.webcase-dev.site'
192HTTP_ORIGIN = 'https://feodal.webcase-dev.site'
193HTTP_REFERER = 'https://feodal.webcase-dev.site/chat/Mw/'
194HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36'
195HTTP_X_CSRFTOKEN = 'HaWQd5RMt9ZW2pjaGyvKDABl5SYMPziSfkVhUBnsNvUKh3isXctzoQeOtl10YZGk'
196HTTP_X_FORWARDED_FOR = '185.248.130.27'
197HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
198PATH_INFO = '/api/v1/chat/Mw/message/add/'
199QUERY_STRING = ''
200RAW_URI = '/api/v1/chat/Mw/message/add/'
201REMOTE_ADDR = ''
202REQUEST_METHOD = 'POST'
203SCRIPT_NAME = ''
204SERVER_NAME = 'feodal.webcase-dev.site'
205SERVER_PORT = '80'
206SERVER_PROTOCOL = 'HTTP/1.0'
207SERVER_SOFTWARE = 'gunicorn/19.9.0'
208gunicorn.socket = <gevent._socket3.socket object, fd=9, family=1, type=1, proto=0>
209wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f865aafb048>
210wsgi.file_wrapper = ''
211wsgi.input = <gunicorn.http.body.Body object at 0x7f865aafbf60>
212wsgi.multiprocess = True
213wsgi.multithread = True
214wsgi.run_once = False
215wsgi.url_scheme = 'http'
216wsgi.version = '(1, 0)'
217
218Settings:
219Using settings module app.settings
220ABSOLUTE_URL_OVERRIDES = {}
221ACCOUNT_ADAPTER = 'apps.staff.adapters.MAccountAdapter'
222ACCOUNT_AUTHENTICATION_METHOD = 'email'
223ACCOUNT_CONFIRM_EMAIL_ON_GET = True
224ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
225ACCOUNT_EMAIL_REQUIRED = True
226ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
227ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
228ACCOUNT_USERNAME_REQUIRED = False
229ADMINS = []
230ALLOWED_HOSTS = ['feodal.webcase-dev.site', '142.93.108.98']
231APPEND_SLASH = True
232AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend')"
233AUTH_PASSWORD_VALIDATORS = '********************'
234AUTH_USER_MODEL = 'auth.User'
235BASE_DIR = PosixPath('/home/feodal/feodal/feodal/server/app/settings/default.py')
236BASE_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app')
237CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
238CACHE_MIDDLEWARE_ALIAS = 'default'
239CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
240CACHE_MIDDLEWARE_SECONDS = 600
241CELERY_ACCEPT_CONTENT = ['json']
242CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
243CELERY_RESULT_SERIALIZER = 'json'
244CELERY_TASK_SERIALIZER = 'json'
245CKEDITOR_CONFIGS = {'default': {'skin': 'moono', 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YourCustomToolbarConfig': [{'name': 'document', 'items': ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates']}, {'name': 'clipboard', 'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']}, {'name': 'editing', 'items': ['Find', 'Replace', '-', 'SelectAll']}, {'name': 'forms', 'items': ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField']}, '/', {'name': 'basicstyles', 'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']}, {'name': 'paragraph', 'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language']}, {'name': 'links', 'items': ['Link', 'Unlink', 'Anchor']}, {'name': 'insert', 'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']}, '/', {'name': 'styles', 'items': ['Styles', 'Format', 'Font', 'FontSize']}, {'name': 'colors', 'items': ['TextColor', 'BGColor']}, {'name': 'tools', 'items': ['Maximize', 'ShowBlocks']}, {'name': 'about', 'items': ['About']}, '/', {'name': 'yourcustomtools', 'items': ['Preview', 'Maximize']}], 'toolbar': 'YourCustomToolbarConfig', 'tabSpaces': 4, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,widget,lineutils,clipboard,dialog,dialogui,elementspath'}}
246CKEDITOR_UPLOAD_PATH = PosixPath('/home/feodal/feodal/feodal/server/app/uploads')
247CSRF_COOKIE_AGE = 31449600
248CSRF_COOKIE_DOMAIN = None
249CSRF_COOKIE_HTTPONLY = False
250CSRF_COOKIE_NAME = 'csrftoken'
251CSRF_COOKIE_PATH = '/'
252CSRF_COOKIE_SAMESITE = 'Lax'
253CSRF_COOKIE_SECURE = False
254CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
255CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
256CSRF_TRUSTED_ORIGINS = []
257CSRF_USE_SESSIONS = False
258DATABASES = {'default': {'NAME': 'feodal_db', 'USER': 'feodal_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}}}
259DATABASE_ROUTERS = []
260DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
261DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
262DATETIME_FORMAT = 'N j, Y, P'
263DATETIME_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']
264DATE_FORMAT = 'N j, Y'
265DATE_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']
266DEBUG = 'True'
267DEBUG_PROPAGATE_EXCEPTIONS = False
268DECIMAL_SEPARATOR = '.'
269DEFAULT_CHARSET = 'utf-8'
270DEFAULT_CONTENT_TYPE = 'text/html'
271DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
272DEFAULT_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']
273DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
274DEFAULT_FROM_EMAIL = 'admin@admin.admin'
275DEFAULT_INDEX_TABLESPACE = ''
276DEFAULT_TABLESPACE = ''
277DISALLOWED_USER_AGENTS = []
278DRF_RECAPTCHA_PUBLIC_KEY = '********************'
279DRF_RECAPTCHA_SECRET_KEY = '********************'
280DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
281EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
282EMAIL_CONFIG = {'EMAIL_FILE_PATH': '', 'EMAIL_HOST_USER': None, 'EMAIL_HOST_PASSWORD': '********************', 'EMAIL_HOST': '127.0.0.1', 'EMAIL_PORT': None, 'EMAIL_BACKEND': 'django.core.mail.backends.console.EmailBackend'}
283EMAIL_FILE_PATH = ''
284EMAIL_HOST = '127.0.0.1'
285EMAIL_HOST_PASSWORD = '********************'
286EMAIL_HOST_USER = None
287EMAIL_PORT = None
288EMAIL_SSL_CERTFILE = None
289EMAIL_SSL_KEYFILE = '********************'
290EMAIL_SUBJECT_PREFIX = '[Django] '
291EMAIL_TIMEOUT = None
292EMAIL_USE_LOCALTIME = False
293EMAIL_USE_SSL = False
294EMAIL_USE_TLS = False
295FILE_CHARSET = 'utf-8'
296FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
297FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
298FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
299FILE_UPLOAD_PERMISSIONS = None
300FILE_UPLOAD_TEMP_DIR = None
301FIRST_DAY_OF_WEEK = 0
302FIXTURE_DIRS = []
303FORCE_SCRIPT_NAME = None
304FORMAT_MODULE_PATH = None
305FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
306IGNORABLE_404_URLS = []
307INSTALLED_APPS = ['markup', 'shared', 'apps.advertisement', 'apps.chat', 'apps.handling', 'apps.orders', 'apps.organization', 'apps.pages', 'apps.staff', 'adminsortable2', 'ckeditor', 'des', 'django_filters', 'django_jinja', 'jet', 'modeltranslation', 'parler', 'postie', 'seo', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_recaptcha', 'robots', 'rosetta', 'script_pattern', 'solo', 'vuejs_translate', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.facebook', 'rest_auth', 'rest_auth.registration', 'mptt']
308INTERNAL_IPS = []
309LANGUAGES = "(('uk', 'Ukrainian'), ('ru', 'Russian'))"
310LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
311LANGUAGE_CODE = 'uk'
312LANGUAGE_COOKIE_AGE = None
313LANGUAGE_COOKIE_DOMAIN = None
314LANGUAGE_COOKIE_NAME = 'django_language'
315LANGUAGE_COOKIE_PATH = '/'
316LOCALE_PATHS = "(PosixPath('/home/feodal/feodal/feodal/server/app/locale'),)"
317LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/feodal/feodal/feodal/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
318LOGGING_CONFIG = 'logging.config.dictConfig'
319LOGIN_REDIRECT_URL = '/'
320LOGIN_URL = '/'
321LOGOUT_REDIRECT_URL = None
322MANAGERS = []
323MEDIA_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app/uploads')
324MEDIA_URL = '/uploads/'
325MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
326MIDDLEWARE = ['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']
327MIGRATION_MODULES = {}
328MODELTRANSLATION_PREPOPULATE_LANGUAGE = 'uk'
329MONTH_DAY_FORMAT = 'F j'
330NUMBER_GROUPING = 0
331OLD_PASSWORD_FIELD_ENABLED = '********************'
332PARLER_ENABLE_CACHING = False
333PARLER_LANGUAGES = {None: ({'code': 'uk', 'hide_untranslated': False, 'fallbacks': ['uk']}, {'code': 'ru', 'hide_untranslated': False, 'fallbacks': ['uk']}), 'default': {'hide_untranslated': False, 'code': 'uk', 'fallbacks': ['uk']}}
334PASSWORD_HASHERS = '********************'
335PASSWORD_RESET_TIMEOUT_DAYS = '********************'
336POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {}}
337POSTIE_INSTANT_SEND = False
338POSTIE_TEMPLATE_CHOICES = Choices(('confirm_email__user', 'confirm_email__user', 'Confirm email (user)'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Confirm password reset (user)'), ('social_registration__user', 'social_registration__user', 'Social registration (user)'), ('write_us__admin', 'write_us__admin', 'Write us (admin)'), ('advertisement_created__user', 'advertisement_created__user', 'Advertisement created (user)'), ('advertisement_created__admin', 'advertisement_created__admin', 'Advertisement created (admin)'), ('advertisement_updated__admin', 'advertisement_updated__admin', 'Advertisement updated (admin)'))
339POSTIE_TEMPLATE_CONTEXTS = {'confirm_email__user': {'login': 'Login', 'name': 'Назва', 'link': 'Confirmation link'}, 'password_reset_confirm__user': '********************', 'social_registration__user': {'name': 'Назва', 'login': 'Login', 'password': '********************'}, 'write_us__admin': {'link': 'Admin link'}, 'advertisement_created__user': {'name': 'Назва', 'nomber': 'Nomber', 'link': 'Link'}, 'advertisement_created__admin': {'nomber': 'Nomber', 'link': 'Admin link'}, 'advertisement_updated__admin': {'nomber': 'Nomber', 'link': 'Admin link'}}
340PREPEND_WWW = False
341PROJECT_APPS = ['markup', 'shared', 'apps.advertisement', 'apps.chat', 'apps.handling', 'apps.orders', 'apps.organization', 'apps.pages', 'apps.staff']
342REST_FRAMEWORK = {'SEARCH_PARAM': 's', 'DEFAULT_METADATA_CLASS': 'shared.models.metadata.FieldsetMetadata', 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication')}
343ROOT_URLCONF = 'app.urls'
344ROSETTA_SHOW_AT_ADMIN_PANEL = True
345SECRET_KEY = '********************'
346SECURE_BROWSER_XSS_FILTER = False
347SECURE_CONTENT_TYPE_NOSNIFF = False
348SECURE_HSTS_INCLUDE_SUBDOMAINS = False
349SECURE_HSTS_PRELOAD = False
350SECURE_HSTS_SECONDS = 0
351SECURE_PROXY_SSL_HEADER = None
352SECURE_REDIRECT_EXEMPT = []
353SECURE_SSL_HOST = None
354SECURE_SSL_REDIRECT = False
355SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
356SEO_MODELS = ['templatepage', 'category']
357SEO_USE_URL_FULL_PATH = True
358SEO_USE_URL_SEO = True
359SERVER_EMAIL = 'root@localhost'
360SESSION_CACHE_ALIAS = 'default'
361SESSION_COOKIE_AGE = 1209600
362SESSION_COOKIE_DOMAIN = None
363SESSION_COOKIE_HTTPONLY = True
364SESSION_COOKIE_NAME = 'sessionid'
365SESSION_COOKIE_PATH = '/'
366SESSION_COOKIE_SAMESITE = 'Lax'
367SESSION_COOKIE_SECURE = False
368SESSION_ENGINE = 'django.contrib.sessions.backends.db'
369SESSION_EXPIRE_AT_BROWSER_CLOSE = False
370SESSION_FILE_PATH = None
371SESSION_SAVE_EVERY_REQUEST = False
372SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
373SETTINGS_MODULE = 'app.settings'
374SHORT_DATETIME_FORMAT = 'm/d/Y P'
375SHORT_DATE_FORMAT = 'm/d/Y'
376SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
377SILENCED_SYSTEM_CHECKS = []
378SITE_ID = 1
379SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.MSocialAccountAdapter'
380SOCIALACCOUNT_EMAIL_VERIFICATION = False
381SOCIALACCOUNT_PROVIDERS = {'google': {'SCOPE': ['profile', 'email'], 'AUTH_PARAMS': {'access_type': 'online'}}, 'facebook': {'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile'], 'AUTH_PARAMS': {}, 'FIELDS': ['id', 'email', 'name', 'first_name', 'last_name', 'verified', 'locale', 'timezone', 'link'], 'EXCHANGE_TOKEN': '********************', 'LOCALE_FUNC': <function <lambda> at 0x7f8664c8c0d0>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.3'}}
382STATICFILES_DIRS = []
383STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
384STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
385STATIC_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app/static')
386STATIC_URL = '/static/'
387TEMPLATES = [{'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': ['seo.context_processors.seo', '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'], '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']}}]
388TEST_NON_SERIALIZED_APPS = []
389TEST_RUNNER = 'django.test.runner.DiscoverRunner'
390THOUSAND_SEPARATOR = ','
391TIME_FORMAT = 'P'
392TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
393TIME_ZONE = 'UTC'
394USE_I18N = True
395USE_L10N = True
396USE_THOUSAND_SEPARATOR = False
397USE_TZ = True
398USE_X_FORWARDED_HOST = False
399USE_X_FORWARDED_PORT = False
400WSGI_APPLICATION = 'app.wsgi.application'
401X_FRAME_OPTIONS = 'SAMEORIGIN'
402YEAR_MONTH_FORMAT = 'F Y'
403
404
405You're seeing this error because you have DEBUG = True in your
406Django settings file. Change that to False, and Django will
407display a standard page generated by the handler for this status code.