· 4 years ago · Jul 14, 2021, 10:48 AM
1TypeError at /api/v1/orders/create/
2Can't instantiate abstract class PrivatbankPayPartsProxyAdapter with abstract methods finish_payment, refund_payment
3
4Request Method: POST
5Request URL: https://umall.webcase-dev.com/api/v1/orders/create/
6Django Version: 2.2
7Python Executable: /home/umall/umall/umall/server/.venv/bin/python
8Python Version: 3.8.10
9Python Path: ['/home/umall/umall/umall/server', '/home/umall/umall/umall/server', '/home/umall/umall/umall/server/.venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages', '/home/umall/umall/umall', '/home/umall/umall/umall/server', '/home/umall/umall/umall/server/app', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf', '/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/odf']
10Server time: Ср, 14 Июл 2021 10:42:17 +0000
11Installed Applications:
12['markup',
13 'shared',
14 'apps.analytics',
15 'apps.attributes',
16 'apps.authentication',
17 'apps.cart',
18 'instant',
19 'apps.chat',
20 'apps.core',
21 'apps.comparison',
22 'apps.django_justin',
23 'apps.django_novaposhta',
24 'apps.django_opendatabot',
25 'apps.django_vchasno',
26 'apps.feedback',
27 'apps.frontend',
28 'apps.geo',
29 'apps.logger',
30 'apps.menu',
31 'apps.monobank_payparts',
32 'apps.order',
33 'apps.ok_liqpay',
34 'apps.organization',
35 'apps.privatbank_payparts',
36 'apps.review',
37 'apps.pages',
38 'apps.payments',
39 'apps.search',
40 'apps.shipping',
41 'apps.shops',
42 'apps.shops.balance',
43 'apps.slider',
44 'apps.staff',
45 'apps.store',
46 'apps.store.directory',
47 'apps.store.importer',
48 'apps.store.lists',
49 'apps.store.sets',
50 'apps.store.trackstats',
51 'apps.work_schedule',
52 'adminsortable2',
53 'cities_light',
54 'ckeditor',
55 'ckeditor_uploader',
56 'corsheaders',
57 'constance',
58 'constance.backends.database',
59 'codemirror2',
60 'dal',
61 'dal_select2',
62 'des',
63 'django_hosts',
64 'django_file_form',
65 'flat_json_widget',
66 'django_jinja',
67 'django_json_widget',
68 'django_filters',
69 'django_mptt_admin',
70 'import_export',
71 'jet',
72 'likes',
73 'model_clone',
74 'ok_language_tools',
75 'ok_redirects',
76 'parler',
77 'postie',
78 'postie.integrations.tilda',
79 'rest_framework',
80 'rest_auth',
81 'drf_yasg',
82 'mptt',
83 'modeltranslation',
84 'polymorphic',
85 'robots',
86 'rosetta',
87 'seo',
88 'solo',
89 'social_django',
90 'script_pattern',
91 'versatileimagefield',
92 'vuejs_translate',
93 'webpack_loader',
94 'watson',
95 'vv',
96 'django.contrib.admin',
97 'django.contrib.auth',
98 'django.contrib.contenttypes',
99 'django.contrib.sessions',
100 'django.contrib.messages',
101 'django.contrib.staticfiles',
102 'django.contrib.sites']
103Installed Middleware:
104['django_hosts.middleware.HostsRequestMiddleware',
105 'django.middleware.security.SecurityMiddleware',
106 'django.contrib.sessions.middleware.SessionMiddleware',
107 'django.middleware.locale.LocaleMiddleware',
108 'django.middleware.common.CommonMiddleware',
109 'django.middleware.csrf.CsrfViewMiddleware',
110 'django.contrib.auth.middleware.AuthenticationMiddleware',
111 'django.contrib.messages.middleware.MessageMiddleware',
112 'django.middleware.clickjacking.XFrameOptionsMiddleware',
113 'apps.logger.middleware.log_response_middleware',
114 'social_django.middleware.SocialAuthExceptionMiddleware',
115 'ok_redirects.middleware.extra_slashes_redirect_middleware',
116 'seo.middleware.url_seo_middleware',
117 'django_hosts.middleware.HostsResponseMiddleware']
118
119
120Traceback:
121
122File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py" in inner
123 34. response = get_response(request)
124
125File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
126 115. response = self.process_exception_by_middleware(e, request)
127
128File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
129 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
130
131File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/django/views/decorators/csrf.py" in wrapped_view
132 54. return view_func(*args, **kwargs)
133
134File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/django/views/generic/base.py" in view
135 71. return self.dispatch(request, *args, **kwargs)
136
137File "/home/umall/umall/umall/server/shared/rest/mixins.py" in dispatch
138 24. return super().dispatch(request, *args, **kwargs)
139
140File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/views.py" in dispatch
141 505. response = self.handle_exception(exc)
142
143File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/views.py" in handle_exception
144 465. self.raise_uncaught_exception(exc)
145
146File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/views.py" in raise_uncaught_exception
147 476. raise exc
148
149File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/views.py" in dispatch
150 502. response = handler(request, *args, **kwargs)
151
152File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/generics.py" in post
153 190. return self.create(request, *args, **kwargs)
154
155File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/mixins.py" in create
156 19. self.perform_create(serializer)
157
158File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/rest_framework/mixins.py" in perform_create
159 24. serializer.save()
160
161File "/home/umall/umall/umall/server/.venv/lib/python3.8/site-packages/drf_writable_nested/mixins.py" in save
162 232. return super(BaseNestedModelSerializer, self).save(**kwargs)
163
164File "/usr/lib/python3.8/contextlib.py" in inner
165 75. return func(*args, **kwds)
166
167File "/home/umall/umall/umall/server/shared/rest/serializers.py" in save
168 125. self.instance = self.create(validated_data)
169
170File "/usr/lib/python3.8/contextlib.py" in inner
171 75. return func(*args, **kwds)
172
173File "/home/umall/umall/umall/server/api/rest/order/serializers/create.py" in create
174 121. redirect_url = process_order_payment(
175
176File "/home/umall/umall/umall/server/apps/order/services/payment.py" in process_order_payment
177 64. response = process_payment(
178
179File "/home/umall/umall/umall/server/apps/payments/services/gateways.py" in process_payment
180 100. get_payment_gateway_adapter(
181
182File "/home/umall/umall/umall/server/apps/payments/services/gateways.py" in get_payment_gateway_adapter
183 75. return adapter_class(**kwargs)
184
185Exception Type: TypeError at /api/v1/orders/create/
186Exception Value: Can't instantiate abstract class PrivatbankPayPartsProxyAdapter with abstract methods finish_payment, refund_payment
187Request information:
188USER: Тест
189
190GET: No GET data
191
192POST: No POST data
193
194FILES: No FILES data
195
196COOKIES:
197UMALL.viewed_objects.products = '55093ad1-25e4-4586-b86f-639c0015ee9d,702ecd54-86cf-434b-b858-c947ee46d9e4,702ecd54-86cf-434b-b858-c947ee46d9e4,702ecd54-86cf-434b-b858-c947ee46d9e4,702ecd54-86cf-434b-b858-c947ee46d9e4:1m1VLY:TVgQ_eWBzFnqHpVTuRF0Gq4LOSE'
198csrftoken = 'ceA8Vc4z1zKwzmhmizRmGQF9JbMAkHkeLEq04JYP3yGIiXLFFsvFR1hcQvCPG7tA'
199sessionid = 'jlvc10lfpd3pcpvzb8hdv1rt283zsldi'
200
201META:
202CONTENT_LENGTH = '670'
203CONTENT_TYPE = 'application/json'
204CSRF_COOKIE = 'ceA8Vc4z1zKwzmhmizRmGQF9JbMAkHkeLEq04JYP3yGIiXLFFsvFR1hcQvCPG7tA'
205HTTP_ACCEPT = '*/*'
206HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
207HTTP_ACCEPT_LANGUAGE = 'ru,en;q=0.9,es;q=0.8,en-GB;q=0.7,en-US;q=0.6'
208HTTP_CONNECTION = 'close'
209HTTP_COOKIE = 'UMALL.viewed_objects.products="55093ad1-25e4-4586-b86f-639c0015ee9d\\054702ecd54-86cf-434b-b858-c947ee46d9e4\\054702ecd54-86cf-434b-b858-c947ee46d9e4\\054702ecd54-86cf-434b-b858-c947ee46d9e4\\054702ecd54-86cf-434b-b858-c947ee46d9e4:1m1VLY:TVgQ_eWBzFnqHpVTuRF0Gq4LOSE"; csrftoken=ceA8Vc4z1zKwzmhmizRmGQF9JbMAkHkeLEq04JYP3yGIiXLFFsvFR1hcQvCPG7tA; sessionid=jlvc10lfpd3pcpvzb8hdv1rt283zsldi'
210HTTP_HOST = 'umall.webcase-dev.com'
211HTTP_ORIGIN = 'https://umall.webcase-dev.com'
212HTTP_REFERER = 'https://umall.webcase-dev.com/order/process/client'
213HTTP_SEC_CH_UA = '" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"'
214HTTP_SEC_CH_UA_MOBILE = '?0'
215HTTP_SEC_FETCH_DEST = 'empty'
216HTTP_SEC_FETCH_MODE = 'same-origin'
217HTTP_SEC_FETCH_SITE = 'same-origin'
218HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36'
219HTTP_X_CSRFTOKEN = 'ceA8Vc4z1zKwzmhmizRmGQF9JbMAkHkeLEq04JYP3yGIiXLFFsvFR1hcQvCPG7tA'
220HTTP_X_FORWARDED_FOR = '185.248.128.230'
221HTTP_X_FORWARDED_PROTO = 'https'
222PATH_INFO = '/api/v1/orders/create/'
223QUERY_STRING = ''
224RAW_URI = '/api/v1/orders/create/'
225REMOTE_ADDR = ''
226REQUEST_METHOD = 'POST'
227SCRIPT_NAME = ''
228SERVER_NAME = 'umall.webcase-dev.com'
229SERVER_PORT = '443'
230SERVER_PROTOCOL = 'HTTP/1.0'
231SERVER_SOFTWARE = 'gunicorn/20.1.0'
232gunicorn.socket = <gevent._socket3.socket at 0x7f1e48e64370 object, fd=8, family=1, type=1, proto=0>
233wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f1e4912b910>
234wsgi.file_wrapper = ''
235wsgi.input = <gunicorn.http.body.Body object at 0x7f1e499c0e50>
236wsgi.input_terminated = True
237wsgi.multiprocess = True
238wsgi.multithread = True
239wsgi.run_once = False
240wsgi.url_scheme = 'https'
241wsgi.version = '(1, 0)'
242
243Settings:
244Using settings module app.settings
245ABSOLUTE_URL_OVERRIDES = {}
246ADMINS = []
247ALLOWED_HOSTS = ['.umall.webcase-dev.com']
248APPEND_SLASH = True
249AUTHENTICATION_BACKENDS = "('apps.authentication.backends.multi_field.MultiFieldModelBackend', 'social_core.backends.facebook.FacebookOAuth2', 'social_core.backends.google.GoogleOAuth2', 'django.contrib.auth.backends.ModelBackend')"
250AUTH_PASSWORD_VALIDATORS = '********************'
251AUTH_USER_MODEL = 'staff.User'
252BASE_DIR = PosixPath('/home/umall/umall/umall/server/app/settings/default.py')
253BASE_ROOT = PosixPath('/home/umall/umall/umall/server/app')
254CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
255CACHE_MIDDLEWARE_ALIAS = 'default'
256CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
257CACHE_MIDDLEWARE_SECONDS = 600
258CACHE_PAGE_TTL = 3600
259CACHE_TTL = 600
260CACHE_USE_LANGUAGE_SUFFIX = False
261CART_ADD_PIPELINES = "('apps.store.contrib.cart.pipelines.save_shop_id_to_cart_parameters',)"
262CART_ELEMENT_ALLOWED_TYPES = "(('store', 'product'),)"
263CART_ELEMENT_REPRESENTATION_SERIALIZERS = {'store.Product': 'api.rest.store.products.serializers.product.retrieve.ProductCartSerializer'}
264CART_POST_ADD_PIPELINES = "('apps.store.contrib.cart.pipelines.apply_product_prices_to_cart',)"
265CART_VIEW_RESPONSE_MODIFIER = 'apps.store.contrib.cart.splitting.pipelines.split_cart_by_shop_id'
266CELERYD_MAX_MEMORY_PER_CHILD = 168996
267CELERYD_MAX_TASKS_PER_CHILD = 20
268CELERY_ACCEPT_CONTENT = ['application/json']
269CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
270CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
271CELERY_RESULT_SERIALIZER = 'json'
272CELERY_TASK_ALWAYS_EAGER = False
273CELERY_TASK_SERIALIZER = 'json'
274CELERY_TIMEZONE = 'UTC'
275CENTRIFUGO_API_KEY = '********************'
276CENTRIFUGO_HOST = 'http://167.99.247.220'
277CENTRIFUGO_LOCAL_HOST = None
278CENTRIFUGO_PORT = 8444
279CENTRIFUGO_PROXY = False
280CENTRIFUGO_SECRET_KEY = '********************'
281CITIES_LIGHT_INCLUDE_CITY_TYPES = ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT']
282CITIES_LIGHT_INCLUDE_COUNTRIES = ['UA']
283CITIES_LIGHT_TRANSLATION_LANGUAGES = ['ru', 'uk']
284CKEDITOR_CONFIGS = {'default': {'language': 'en', 'skin': 'office2013', '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', 'FilerImage', 'Youtube', 'Image']}, '/', {'name': 'yourcustomtools', 'items': ['Preview', 'Maximize']}], 'toolbar': 'YourCustomToolbarConfig', 'tabSpaces': 4, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,widget,lineutils,clipboard,dialog,dialogui,elementspath,youtube,image2,wordcount', 'wordcount': {'showCharCount': True}, 'removePlugins': 'image', 'allowedContent': True}}
285CKEDITOR_UPLOAD_PATH = ''
286CONSTANCE_ADDITIONAL_FIELDS = {'email_field': [<class 'django.forms.fields.EmailField'>, {}], 'rich': [<class 'django.forms.fields.CharField'>, {'widget': <ckeditor.widgets.CKEditorWidget object at 0x7f1e4c5ea520>}], 'image_field': [<class 'django.forms.fields.ImageField'>, {}]}
287CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
288CONSTANCE_CONFIG = {'ONE_CLICK_ENABLED': (True, 'Order one click enabled', <class 'bool'>), 'FILE_MAX_SIZE_UPLOAD': (8192, 'Max size of uploaded files in KB', <class 'int'>), 'COMMISSION': (0.0, 'Commission', <class 'float'>), 'FEATURED_CATEGORIES_COUNT': (8, 'Featured categories count', <class 'int'>), 'FEATURED_PRODUCTS_COUNT': (8, 'Featured products count', <class 'int'>), 'TINYPNG_KEY': '********************', 'ESPUTNIK_USER': ('', 'E-Sputnik user', <class 'str'>), 'ESPUTNIK_PASSWORD': '********************', 'SENDPULSE_SMS_URL': ('', 'SendPulse SMS url', <class 'str'>)}
289CONSTANCE_CONFIG_FIELDSETS = {'General': ('FILE_MAX_SIZE_UPLOAD', 'ONE_CLICK_ENABLED', 'COMMISSION', 'FEATURED_CATEGORIES_COUNT', 'FEATURED_PRODUCTS_COUNT'), 'TinyPNG': ('TINYPNG_KEY',), 'E-Sputnik': ('ESPUTNIK_USER', 'ESPUTNIK_PASSWORD'), 'SendPulse Options': ('SENDPULSE_SMS_URL',)}
290CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
291CSRF_COOKIE_AGE = 31449600
292CSRF_COOKIE_DOMAIN = None
293CSRF_COOKIE_HTTPONLY = False
294CSRF_COOKIE_NAME = 'csrftoken'
295CSRF_COOKIE_PATH = '/'
296CSRF_COOKIE_SAMESITE = 'Lax'
297CSRF_COOKIE_SECURE = True
298CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
299CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
300CSRF_TRUSTED_ORIGINS = []
301CSRF_USE_SESSIONS = False
302DATABASES = {'default': {'NAME': 'umall_db', 'USER': 'umall_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}}}
303DATABASE_ROUTERS = []
304DATA_UPLOAD_MAX_MEMORY_SIZE = 10485760
305DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
306DATETIME_FORMAT = '%d.%m.%Y %H:%M:%S'
307DATETIME_INPUT_FORMATS = ['%d.%m.%Y %H:%M']
308DATE_FORMAT = '%d.%m.%Y'
309DATE_INPUT_FORMATS = ['%d.%m.%Y']
310DEBUG = True
311DEBUG_PROPAGATE_EXCEPTIONS = False
312DECIMAL_SEPARATOR = '.'
313DEFAULT_CHARSET = 'utf-8'
314DEFAULT_CONTENT_TYPE = 'text/html'
315DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
316DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.DebugExtension', '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']
317DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
318DEFAULT_FROM_EMAIL = 'admin@admin.admin'
319DEFAULT_HOST = 'buyer'
320DEFAULT_INDEX_TABLESPACE = ''
321DEFAULT_RENDERER_CLASSES = "('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer')"
322DEFAULT_TABLESPACE = ''
323DISABLE_THROTTLING = False
324DISALLOWED_USER_AGENTS = []
325EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
326EMAIL_HOST = 'localhost'
327EMAIL_HOST_PASSWORD = '********************'
328EMAIL_HOST_USER = ''
329EMAIL_PORT = 25
330EMAIL_SSL_CERTFILE = None
331EMAIL_SSL_KEYFILE = '********************'
332EMAIL_SUBJECT_PREFIX = '[Django] '
333EMAIL_TIMEOUT = None
334EMAIL_USE_LOCALTIME = False
335EMAIL_USE_SSL = False
336EMAIL_USE_TLS = False
337ENABLE_DEBUG_TOOLBAR = False
338ENABLE_NPLUSONE = False
339ENABLE_S3_STORAGE = False
340FILE_CHARSET = 'utf-8'
341FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
342FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
343FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
344FILE_UPLOAD_PERMISSIONS = None
345FILE_UPLOAD_TEMP_DIR = None
346FIRST_DAY_OF_WEEK = 0
347FIXTURE_DIRS = []
348FORCE_SCRIPT_NAME = None
349FORMAT_MODULE_PATH = None
350FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
351GUNICORN_PID = '/run/umall_gunicorn/umall_gunicorn.pid'
352HOST_PORT = None
353HOST_SCHEME = 'https'
354HTML_SANITIZERS = {'product_importer': {'tags': {'br', 'h2', 'strong', 'div', 'b', 'h4', 'span', 'tr', 'h6', 'h1', 'table', 'h3', 'li', 'p', 'ol', 'h5', 'td', 'ul', 'th'}, 'empty': {}, 'separate': {}, 'attributes': {}}}
355IGNORABLE_404_URLS = []
356INSTALLED_APPS = ['markup', 'shared', 'apps.analytics', 'apps.attributes', 'apps.authentication', 'apps.cart', 'instant', 'apps.chat', 'apps.core', 'apps.comparison', 'apps.django_justin', 'apps.django_novaposhta', 'apps.django_opendatabot', 'apps.django_vchasno', 'apps.feedback', 'apps.frontend', 'apps.geo', 'apps.logger', 'apps.menu', 'apps.monobank_payparts', 'apps.order', 'apps.ok_liqpay', 'apps.organization', 'apps.privatbank_payparts', 'apps.review', 'apps.pages', 'apps.payments', 'apps.search', 'apps.shipping', 'apps.shops', 'apps.shops.balance', 'apps.slider', 'apps.staff', 'apps.store', 'apps.store.directory', 'apps.store.importer', 'apps.store.lists', 'apps.store.sets', 'apps.store.trackstats', 'apps.work_schedule', 'adminsortable2', 'cities_light', 'ckeditor', 'ckeditor_uploader', 'corsheaders', 'constance', 'constance.backends.database', 'codemirror2', 'dal', 'dal_select2', 'des', 'django_hosts', 'django_file_form', 'flat_json_widget', 'django_jinja', 'django_json_widget', 'django_filters', 'django_mptt_admin', 'import_export', 'jet', 'likes', 'model_clone', 'ok_language_tools', 'ok_redirects', 'parler', 'postie', 'postie.integrations.tilda', 'rest_framework', 'rest_auth', 'drf_yasg', 'mptt', 'modeltranslation', 'polymorphic', 'robots', 'rosetta', 'seo', 'solo', 'social_django', 'script_pattern', 'versatileimagefield', 'vuejs_translate', 'webpack_loader', 'watson', 'vv', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites']
357INSTANT_BROADCAST_WITH = 'py'
358INTERNAL_IPS = []
359JET_SIDE_MENU_COMPACT = True
360LANGUAGES = "(('ru', 'Русский'), ('uk', 'Украинский'))"
361LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
362LANGUAGE_CODE = 'ru'
363LANGUAGE_CODES = ['ru', 'uk']
364LANGUAGE_CODES_TRANSLATABLE = "(('ru', 'Ru'), ('uk', 'Uk'))"
365LANGUAGE_COOKIE_AGE = None
366LANGUAGE_COOKIE_DOMAIN = None
367LANGUAGE_COOKIE_NAME = 'django_language'
368LANGUAGE_COOKIE_PATH = '/'
369LANGUAGE_TOOLS_DEFAULT_REDIRECT_LANGUAGE = 'uk'
370LANGUAGE_TOOLS_REDIRECT_EXCLUDE_PREFIXES = "('/admin', '/product', '/ajax', '/uploads', '/vuejs-translate')"
371LIKES_MODELS = {'store.Product': {'serializer': 'api.rest.store.serializers.product.retrieve.ProductLikeSerializer'}}
372LIKES_REST_PAGINATION_CLASS = 'core.api.pagination.MyResponsePagination'
373LOCALE_PATHS = "(PosixPath('/home/umall/umall/umall/server/app/locale'),)"
374LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/umall/umall/umall/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
375LOGGING_CONFIG = 'logging.config.dictConfig'
376LOGIN_REDIRECT_URL = '/authentication/login-redirect/'
377LOGIN_URL = '/accounts/login/'
378LOGOUT_REDIRECT_URL = None
379MANAGERS = []
380MEDIA_ROOT = PosixPath('/home/umall/umall/umall/server/app/uploads')
381MEDIA_URL = '/uploads/'
382MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
383MIDDLEWARE = ['django_hosts.middleware.HostsRequestMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'apps.logger.middleware.log_response_middleware', 'social_django.middleware.SocialAuthExceptionMiddleware', 'ok_redirects.middleware.extra_slashes_redirect_middleware', 'seo.middleware.url_seo_middleware', 'django_hosts.middleware.HostsResponseMiddleware']
384MIGRATION_MODULES = {}
385MODELTRANSLATION_DEFAULT_LANGUAGE = 'ru'
386MODELTRANSLATION_ENABLE_FALLBACKS = True
387MODELTRANSLATION_FALLBACK_LANGUAGES = "('ru',)"
388MODELTRANSLATION_LANGUAGES = "('ru', 'uk')"
389MONTH_DAY_FORMAT = 'F j'
390NUMBER_GROUPING = 0
391OLD_PASSWORD_FIELD_ENABLED = '********************'
392PARENT_HOST = 'umall.webcase-dev.com'
393PASSWORD_HASHERS = '********************'
394PASSWORD_RESET_TIMEOUT_DAYS = '********************'
395POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CodeMirrorEditor', 'widget_module': 'codemirror2.widgets', 'attrs': {'attrs': {'cols': 80, 'rows': 10}}}
396POSTIE_INSTANT_SEND = False
397POSTIE_TEMPLATE_CHOICES = Choices(('user_activate', 'user_activate', 'User activate'), ('password_reset', 'password_reset', 'Восстановление пароля'), ('review_moderation', 'review_moderation', 'Review moderation'), ('review_approved', 'review_approved', 'Review approved'), ('catalog_sync_failed', 'catalog_sync_failed', 'Catalog sync failed'), ('email_address_confirmation', 'email_address_confirmation', 'Email address confirmation'), ('shop_verification_request', 'shop_verification_request', 'Shop verification request'))
398POSTIE_TEMPLATE_CONTEXTS = {'user_activate': {'user': 'User object', 'activation_code': 'Activation code'}, 'password_reset': '********************', 'review_moderation': {'email': 'Адрес электронной почты', 'review': 'Review', 'url': 'Admin url'}, 'review_approved': {'review': 'Review'}, 'catalog_sync_failed': {'url': 'Task admin url'}, 'email_address_confirmation': {'code': 'Confirmation code'}, 'shop_verification_request': {'shop': 'Shop'}}
399PREPEND_WWW = False
400PROJECT_APPS = ['markup', 'shared', 'apps.analytics', 'apps.attributes', 'apps.authentication', 'apps.cart', 'instant', 'apps.chat', 'apps.core', 'apps.comparison', 'apps.django_justin', 'apps.django_novaposhta', 'apps.django_opendatabot', 'apps.django_vchasno', 'apps.feedback', 'apps.frontend', 'apps.geo', 'apps.logger', 'apps.menu', 'apps.monobank_payparts', 'apps.order', 'apps.ok_liqpay', 'apps.organization', 'apps.privatbank_payparts', 'apps.review', 'apps.pages', 'apps.payments', 'apps.search', 'apps.shipping', 'apps.shops', 'apps.shops.balance', 'apps.slider', 'apps.staff', 'apps.store', 'apps.store.directory', 'apps.store.importer', 'apps.store.lists', 'apps.store.sets', 'apps.store.trackstats', 'apps.work_schedule']
401REDIRECTS_EXTRA_SLASHES_REDIRECT_EXEMPT_URLS = ['^$', '^api/v(?P<version>[1|2]+)/', '^vuejs-translate/', '^uk/vuejs-translate/', '^sitemap\\.xml$', '^robots\\.txt$', '^(?P<template>[\\w/.]{0,256}).html$', '^uploads/', '^store-uploads/', '^i18n\\.js$', '^google-feed\\.csv$', '^rozetka\\.xml$', '^favicon\\.ico$', '^django-des/', '^file-upload/']
402REDIRECTS_IGNORE_PATH_PREFIXES = "('/admin/', '/file-upload/', '/api/v1/', '/uploads/', '/store-uploads/', '/static/', '/vuejs-translate/', '/catalog/ajax/')"
403REGISTRATION_ENABLE_PASSWORD2 = '********************'
404RESET_PASSWORD_EXPIRATION_DELTA = '********************'
405REST_AUTH_SERIALIZERS = {'PASSWORD_RESET_SERIALIZER': '********************'}
406REST_FRAMEWORK = {'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PAGINATION_CLASS': 'shared.rest.pagination.LimitOffsetPagination', 'PAGE_SIZE': 10, 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer'), 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'], 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema', 'EXCEPTION_HANDLER': 'shared.rest.exception_handler.exception_handler', 'DATE_FORMAT': '%d.%m.%Y', 'DATE_INPUT_FORMATS': ['%d.%m.%Y'], 'DATETIME_FORMAT': '%d.%m.%Y %H:%M:%S', 'DATETIME_INPUT_FORMATS': ['%d.%m.%Y %H:%M'], 'DEFAULT_METADATA_CLASS': 'shared.rest.metadata.RestMetadata', 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning', 'DEFAULT_THROTTLE_RATES': {'anon-auth': '3/min', 'phone': '1/min', 'email': '1/min'}}
407REST_SESSION_LOGIN = True
408ROBOTS_SITEMAP_VIEW_NAME = 'sitemap'
409ROBOTS_USE_SCHEME_IN_HOST = True
410ROOT_HOSTCONF = 'app.hosts'
411ROOT_URLCONF = 'app.urls'
412ROSETTA_LOGIN_URL = '/'
413ROSETTA_MESSAGES_PER_PAGE = 10
414ROSETTA_REQUIRES_AUTH = True
415ROSETTA_SHOW_AT_ADMIN_PANEL = True
416SECRET_KEY = '********************'
417SECURE_BROWSER_XSS_FILTER = False
418SECURE_CONTENT_TYPE_NOSNIFF = False
419SECURE_HSTS_INCLUDE_SUBDOMAINS = False
420SECURE_HSTS_PRELOAD = False
421SECURE_HSTS_SECONDS = 0
422SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
423SECURE_REDIRECT_EXEMPT = []
424SECURE_SSL_HOST = None
425SECURE_SSL_REDIRECT = False
426SEO_DEBUG_MODE = True
427SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
428SEO_MODELS = ['store.Product']
429SEO_USE_URL_SEO = True
430SERVER_EMAIL = 'root@localhost'
431SESSION_CACHE_ALIAS = 'default'
432SESSION_COOKIE_AGE = 1209600
433SESSION_COOKIE_DOMAIN = None
434SESSION_COOKIE_HTTPONLY = True
435SESSION_COOKIE_NAME = 'sessionid'
436SESSION_COOKIE_PATH = '/'
437SESSION_COOKIE_SAMESITE = 'Lax'
438SESSION_COOKIE_SECURE = True
439SESSION_ENGINE = 'django.contrib.sessions.backends.db'
440SESSION_EXPIRE_AT_BROWSER_CLOSE = False
441SESSION_FILE_PATH = None
442SESSION_SAVE_EVERY_REQUEST = False
443SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
444SETTINGS_MODULE = 'app.settings'
445SHORT_DATETIME_FORMAT = 'm/d/Y P'
446SHORT_DATE_FORMAT = 'm/d/Y'
447SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
448SILENCED_SYSTEM_CHECKS = []
449SITE_ID = 1
450SITE_NAME = 'Umall'
451SITE_SLUG = 'umall'
452SOCIAL_AUTH_FACEBOOK_API_VERSION = '********************'
453SOCIAL_AUTH_FACEBOOK_EXTRA_DATA = [('name', 'name'), ('email', 'email'), ('picture', 'picture'), ('link', 'profile_url')]
454SOCIAL_AUTH_FACEBOOK_KEY = '********************'
455SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = {'locale': 'ru_RU', 'fields': 'id, name, email, picture.type(large), link'}
456SOCIAL_AUTH_FACEBOOK_SCOPE = ['email', 'public_profile']
457SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
458SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
459SOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE = ['openid', 'email', 'profile', 'https://www.googleapis.com/auth/user.phonenumbers.read']
460SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
461SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/authentication/login-redirect/'
462SOCIAL_AUTH_PIPELINE = "('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'social_core.pipeline.user.get_username', 'social_core.pipeline.social_auth.associate_by_email', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'apps.authentication.social_core_pipeline.user_details', 'apps.staff.social_core_pipeline.get_avatar')"
463SOCIAL_AUTH_PROTECTED_USER_FIELDS = "('username', 'id', 'pk', 'email')"
464SOLO_CACHE = 'default'
465STATICFILES_DIRS = []
466STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
467STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
468STATIC_ROOT = PosixPath('/home/umall/umall/umall/server/app/static')
469STATIC_URL = '/static/'
470STORE_MEDIA_FOLDER = '/mnt/product_img'
471STORE_MEDIA_ROOT = PosixPath('/mnt/product_img/store-uploads')
472STORE_MEDIA_URL = '/store-uploads/'
473TEMPLATES = [{'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', 'constance.context_processors.config', 'social_django.context_processors.login_redirect'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.DebugExtension', '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', 'webpack_loader.contrib.jinja2ext.WebpackExtension', 'markup.extensions.UrlsExtension'], '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', 'social_django.context_processors.login_redirect']}}]
474TEST_NON_SERIALIZED_APPS = []
475TEST_RUNNER = 'django.test.runner.DiscoverRunner'
476THOUSAND_SEPARATOR = ','
477TIME_FORMAT = 'P'
478TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
479TIME_ZONE = 'UTC'
480USER_TYPE_CHOICES = Choices(('buyer', 'buyer', 'Buyer'), ('seller', 'seller', 'Seller'))
481USE_I18N = True
482USE_L10N = True
483USE_THOUSAND_SEPARATOR = False
484USE_TZ = True
485USE_X_FORWARDED_HOST = False
486USE_X_FORWARDED_PORT = False
487VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
488VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 80, 'progressive_jpeg': True}
489WATSON_POSTGRES_SEARCH_CONFIG = 'pg_catalog.russian'
490WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/umall/umall/umall/server/apps/frontend/static/frontend/webpack-stats.json')}}
491WSGI_APPLICATION = 'app.wsgi.application'
492X_FRAME_OPTIONS = 'SAMEORIGIN'
493YEAR_MONTH_FORMAT = 'F Y'
494
495
496You're seeing this error because you have DEBUG = True in your
497Django settings file. Change that to False, and Django will
498display a standard page generated by the handler for this status code.
499