· 4 years ago · Feb 26, 2021, 01:14 PM
1TypeError at /api/v1/tracker-product/list/page/1/
2Object of type Gallery is not JSON serializable
3
4Request Method: GET
5Request URL: http://coffeeindustry.webcase-dev.com/api/v1/tracker-product/list/page/1/
6Django Version: 2.2
7Python Executable: /home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/bin/python
8Python Version: 3.7.9
9Python Path: ['/home/coffeeindustry/coffeeindustry/coffeeindustry/server', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/bin', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf', '/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/odf']
10Server time: Fri, 26 Feb 2021 13:08:27 +0000
11Installed Applications:
12['markup',
13 'shared',
14 'apps.staff',
15 'apps.nations',
16 'apps.products',
17 'apps.attributes',
18 'apps.shops',
19 'apps.about',
20 'apps.organization',
21 'apps.news',
22 'apps.features',
23 'apps.subscribers',
24 'apps.statistic',
25 'apps.managers',
26 'apps.frontend',
27 'apps.optimized_image',
28 'rosetta',
29 'django_jinja',
30 'jet',
31 'import_export',
32 'modeltranslation',
33 'mptt',
34 'versatileimagefield',
35 'adminsortable2',
36 'constance',
37 'solo',
38 'vuejs_translate',
39 'robots',
40 'seo',
41 'rest_framework',
42 'rest_framework.authtoken',
43 'rest_framework_recaptcha',
44 'standards',
45 'postie',
46 'parler',
47 'codemirror2',
48 'des',
49 'ckeditor',
50 'ckeditor_uploader',
51 'script_pattern',
52 'watson',
53 'django.contrib.admin',
54 'django.contrib.auth',
55 'django.contrib.contenttypes',
56 'django.contrib.sessions',
57 'django.contrib.messages',
58 'django.contrib.staticfiles',
59 'django.contrib.sites',
60 'django.contrib.postgres',
61 'allauth',
62 'allauth.account',
63 'allauth.socialaccount',
64 'allauth.socialaccount.providers.google',
65 'allauth.socialaccount.providers.facebook',
66 'rest_auth',
67 'rest_auth.registration',
68 'webpack_loader']
69Installed Middleware:
70['django.middleware.security.SecurityMiddleware',
71 'django.contrib.sessions.middleware.SessionMiddleware',
72 'django.middleware.common.CommonMiddleware',
73 'django.middleware.csrf.CsrfViewMiddleware',
74 'django.middleware.locale.LocaleMiddleware',
75 'django.contrib.auth.middleware.AuthenticationMiddleware',
76 'django.contrib.messages.middleware.MessageMiddleware',
77 'django.middleware.clickjacking.XFrameOptionsMiddleware',
78 'shared.middleware.extra_slashes_redirect_middleware',
79 'seo.middleware.url_seo_middleware']
80
81
82Traceback:
83
84File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
85 34. response = get_response(request)
86
87File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
88 145. response = self.process_exception_by_middleware(e, request)
89
90File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
91 143. response = response.render()
92
93File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/template/response.py" in render
94 106. self.content = self.rendered_content
95
96File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/response.py" in rendered_content
97 70. ret = renderer.render(self.data, accepted_media_type, context)
98
99File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/djangorestframework_camel_case/render.py" in render
100 9. return super().render(camelize(data), *args, **kwargs)
101
102File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/renderers.py" in render
103 103. allow_nan=not self.strict, separators=separators
104
105File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/utils/json.py" in dumps
106 25. return json.dumps(*args, **kwargs)
107
108File "/usr/lib/python3.7/json/__init__.py" in dumps
109 238. **kw).encode(obj)
110
111File "/usr/lib/python3.7/json/encoder.py" in encode
112 199. chunks = self.iterencode(o, _one_shot=True)
113
114File "/usr/lib/python3.7/json/encoder.py" in iterencode
115 257. return _iterencode(o, 0)
116
117File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/utils/encoders.py" in default
118 67. return super().default(obj)
119
120File "/usr/lib/python3.7/json/encoder.py" in default
121 179. raise TypeError(f'Object of type {o.__class__.__name__} '
122
123Exception Type: TypeError at /api/v1/tracker-product/list/page/1/
124Exception Value: Object of type Gallery is not JSON serializable
125Request information:
126USER: DanilKlimashov92@gmail.com
127
128GET: No GET data
129
130POST: No POST data
131
132FILES: No FILES data
133
134COOKIES:
135messages = '68b6e4bf23fcc78dd0f4b7e45447c49280739b50$[["__json_message",0,20,"Confirmation e-mail sent to f060571f3e@firemailbox.club."]]'
136csrftoken = '3DSsv1oQdWIuyJHVmioIdj3asJ8Fa0fraabPPXyd8f5t0BVZT6d1pJvIZIjQcuG4'
137sessionid = 'o42au1miq6cezimg13nzfqjhfxkqjfbg'
138
139META:
140CONTENT_TYPE = 'application/json'
141CSRF_COOKIE = '3DSsv1oQdWIuyJHVmioIdj3asJ8Fa0fraabPPXyd8f5t0BVZT6d1pJvIZIjQcuG4'
142HTTP_ACCEPT = '*/*'
143HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
144HTTP_ACCEPT_LANGUAGE = 'undefined'
145HTTP_CONNECTION = 'close'
146HTTP_COOKIE = 'messages="68b6e4bf23fcc78dd0f4b7e45447c49280739b50$[[\\"__json_message\\"\\0540\\05420\\054\\"Confirmation e-mail sent to f060571f3e@firemailbox.club.\\"]]"; csrftoken=3DSsv1oQdWIuyJHVmioIdj3asJ8Fa0fraabPPXyd8f5t0BVZT6d1pJvIZIjQcuG4; sessionid=o42au1miq6cezimg13nzfqjhfxkqjfbg'
147HTTP_HOST = 'coffeeindustry.webcase-dev.com'
148HTTP_REFERER = 'https://coffeeindustry.webcase-dev.com/customer/tracked-products/client'
149HTTP_SEC_FETCH_DEST = 'empty'
150HTTP_SEC_FETCH_MODE = 'same-origin'
151HTTP_SEC_FETCH_SITE = 'same-origin'
152HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36'
153HTTP_X_CSRFTOKEN = '3DSsv1oQdWIuyJHVmioIdj3asJ8Fa0fraabPPXyd8f5t0BVZT6d1pJvIZIjQcuG4'
154HTTP_X_FORWARDED_FOR = '89.21.95.134'
155HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
156PATH_INFO = '/api/v1/tracker-product/list/page/1/'
157QUERY_STRING = ''
158RAW_URI = '/api/v1/tracker-product/list/page/1/'
159REMOTE_ADDR = ''
160REQUEST_METHOD = 'GET'
161SCRIPT_NAME = ''
162SERVER_NAME = 'coffeeindustry.webcase-dev.com'
163SERVER_PORT = '80'
164SERVER_PROTOCOL = 'HTTP/1.0'
165SERVER_SOFTWARE = 'gunicorn/20.0.4'
166gunicorn.socket = <gevent._socket3.socket at 0x7f9656cf9d00 object, fd=13, family=1, type=1, proto=0>
167wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9657222ad0>
168wsgi.file_wrapper = ''
169wsgi.input = <gunicorn.http.body.Body object at 0x7f965600cc90>
170wsgi.input_terminated = True
171wsgi.multiprocess = True
172wsgi.multithread = True
173wsgi.run_once = False
174wsgi.url_scheme = 'http'
175wsgi.version = '(1, 0)'
176
177Settings:
178Using settings module app.settings
179ABSOLUTE_URL_OVERRIDES = {}
180ACCOUNT_ADAPTER = 'apps.staff.adapters.MAccountAdapter'
181ACCOUNT_AUTHENTICATION_METHOD = 'email'
182ACCOUNT_CONFIRM_EMAIL_ON_GET = True
183ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
184ACCOUNT_EMAIL_REQUIRED = True
185ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
186ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
187ACCOUNT_USERNAME_REQUIRED = False
188ADMINS = []
189ALLOWED_HOSTS = ['46.101.175.73', 'coffeeindustry.webcase-dev.com']
190APPEND_SLASH = True
191AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'shared.auth.MAuthenticationBackend')"
192AUTH_PASSWORD_VALIDATORS = '********************'
193AUTH_USER_MODEL = 'staff.CustomUser'
194BASE_DIR = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/settings/default.py')
195BASE_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app')
196CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
197CACHE_MIDDLEWARE_ALIAS = 'default'
198CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
199CACHE_MIDDLEWARE_SECONDS = 600
200CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
201CKEDITOR_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}}
202CKEDITOR_UPLOAD_PATH = 'uploads/'
203CONSTANCE_CONFIG = {'DAY_NEW_PRODUCT': (4, 'Count day until product is new', <class 'int'>), 'PAGINATION_PRODUCT_LIST': (6, 'Count products in page', <class 'int'>), 'PAGINATION_PRODUCT_STAND': (20, 'Count products in stand', <class 'int'>), 'PAGINATION_PRODUCT_PC': (10, 'Count products in personal cabinet', <class 'int'>), 'INDEX_LIMIT_PRODUCT': (20, 'Count products in index', <class 'int'>), 'PAGINATION_FAVORITE_PRODUCT_PC': (6, 'Count products in personal cabinet', <class 'int'>), 'PAGINATION_PRODUCT_SEARCH_LIST': (6, 'Count products in search page', <class 'int'>), 'COUNT_PRODUCT_SEARCH_HEADER': (5, 'Count products in search header', <class 'int'>), 'COUNT_CATEGORY_SEARCH_HEADER': (5, 'Count categories in search header', <class 'int'>), 'INDEX_LIMIT_NEWS': (3, 'Count news in index', <class 'int'>), 'PAGINATION_NEWS_LIST': (8, 'Count news in page', <class 'int'>), 'INDEX_LIMIT_SHOPS': (20, 'Count shops in index', <class 'int'>), 'STAND_LIMIT_SHOPS_SIMILAR': (10, 'Count shops similar in stand', <class 'int'>), 'PAGINATION_QUERY_SHOP_PC': (20, 'Count query in personal cabinet', <class 'int'>), 'PAGINATION_PDF_CATALOG_LIST': (20, 'Count pdf catalogs on list', <class 'int'>), 'PAGINATION_CATALOG_PDF_PC': (20, 'Count pdf catalogs on list', <class 'int'>), 'PAGINATION_REQUEST_FEATURE_PC': (10, 'Count request feature in personal cabinet', <class 'int'>), 'PAGINATION_REQUEST_FEATURE_PC_MANAGER': (10, 'Count request feature in personal cabinet manager', <class 'int'>), 'PAGINATION_TRACKER_PRODUCT_PC': (10, 'Count tracker product in list personal cabinet', <class 'int'>), 'PAGINATION_SUBSCRIBE_PC': (10, 'Count subscribe in list personal cabinet', <class 'int'>), 'PAGINATION_USERS_PC_MANAGER': (10, 'Count users in list personal cabinet manger', <class 'int'>), 'PAGINATION_QUERY_PC_MANAGER': (10, 'Count query in list personal cabinet manger', <class 'int'>)}
204CONSTANCE_CONFIG_FIELDSETS = {'PRODUCT': ('DAY_NEW_PRODUCT', 'PAGINATION_PRODUCT_LIST', 'PAGINATION_PRODUCT_STAND', 'PAGINATION_PRODUCT_PC', 'INDEX_LIMIT_PRODUCT', 'PAGINATION_FAVORITE_PRODUCT_PC'), 'SEARCH': ('PAGINATION_PRODUCT_SEARCH_LIST', 'COUNT_PRODUCT_SEARCH_HEADER', 'COUNT_CATEGORY_SEARCH_HEADER'), 'NEWS': ('INDEX_LIMIT_NEWS', 'PAGINATION_NEWS_LIST'), 'SHOPS': ('INDEX_LIMIT_SHOPS', 'STAND_LIMIT_SHOPS_SIMILAR'), 'QUERY': ('PAGINATION_QUERY_SHOP_PC', 'PAGINATION_QUERY_PC_MANAGER'), 'PDF_CATALOG': ('PAGINATION_PDF_CATALOG_LIST', 'PAGINATION_CATALOG_PDF_PC'), 'FEATURE': ('PAGINATION_REQUEST_FEATURE_PC', 'PAGINATION_REQUEST_FEATURE_PC_MANAGER'), 'TRACKER_PRODUCT': ('PAGINATION_TRACKER_PRODUCT_PC',), 'SUBSCRIBE': ('PAGINATION_SUBSCRIBE_PC',), 'USERS': ('PAGINATION_USERS_PC_MANAGER',)}
205CONSTANCE_DATABASE_CACHE_AUTOFILL_TIMEOUT = None
206CONSTANCE_REDIS_CONNECTION_CLASS = 'django_redis.get_redis_connection'
207CSRF_COOKIE_AGE = 31449600
208CSRF_COOKIE_DOMAIN = None
209CSRF_COOKIE_HTTPONLY = False
210CSRF_COOKIE_NAME = 'csrftoken'
211CSRF_COOKIE_PATH = '/'
212CSRF_COOKIE_SAMESITE = 'Lax'
213CSRF_COOKIE_SECURE = False
214CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
215CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
216CSRF_TRUSTED_ORIGINS = []
217CSRF_USE_SESSIONS = False
218DATABASES = {'default': {'NAME': 'coffee_db', 'USER': 'coffee_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}}}
219DATABASE_ROUTERS = []
220DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
221DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
222DATETIME_FORMAT = 'N j, Y, P'
223DATETIME_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']
224DATE_FORMAT = 'N j, Y'
225DATE_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']
226DEBUG = True
227DEBUG_PROPAGATE_EXCEPTIONS = False
228DECIMAL_SEPARATOR = '.'
229DEFAULT_CHARSET = 'utf-8'
230DEFAULT_CONTENT_TYPE = 'text/html'
231DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
232DEFAULT_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']
233DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
234DEFAULT_FROM_EMAIL = 'admin@admin.admin'
235DEFAULT_INDEX_TABLESPACE = ''
236DEFAULT_TABLESPACE = ''
237DISALLOWED_USER_AGENTS = []
238DRF_RECAPTCHA_SECRET_KEY = '********************'
239DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
240EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
241EMAIL_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'}
242EMAIL_FILE_PATH = ''
243EMAIL_HOST = '127.0.0.1'
244EMAIL_HOST_PASSWORD = '********************'
245EMAIL_HOST_USER = None
246EMAIL_PORT = None
247EMAIL_SSL_CERTFILE = None
248EMAIL_SSL_KEYFILE = '********************'
249EMAIL_SUBJECT_PREFIX = '[Django] '
250EMAIL_TIMEOUT = None
251EMAIL_USE_LOCALTIME = False
252EMAIL_USE_SSL = False
253EMAIL_USE_TLS = False
254EXTRA_SLASHES_REDIRECT_EXEMPT_URLS = ['^$', '^api/v(?P<version>[1|2]+)/', '^vuejs-translate/', '^sitemap\\.xml$', '^robots\\.txt$', '^uploads/', '^i18n\\.js$', '^google-feed\\.csv$', '^rozetka\\.xml$', '^favicon\\.ico$']
255FILE_CHARSET = 'utf-8'
256FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
257FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
258FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
259FILE_UPLOAD_PERMISSIONS = None
260FILE_UPLOAD_TEMP_DIR = None
261FIRST_DAY_OF_WEEK = 0
262FIXTURE_DIRS = []
263FORCE_SCRIPT_NAME = None
264FORMAT_MODULE_PATH = None
265FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
266GUNICORN_PID = '/tmp/coffee_industry.pid'
267HOME_URL = '/'
268IGNORABLE_404_URLS = []
269INSTALLED_APPS = ['markup', 'shared', 'apps.staff', 'apps.nations', 'apps.products', 'apps.attributes', 'apps.shops', 'apps.about', 'apps.organization', 'apps.news', 'apps.features', 'apps.subscribers', 'apps.statistic', 'apps.managers', 'apps.frontend', 'apps.optimized_image', 'rosetta', 'django_jinja', 'jet', 'import_export', 'modeltranslation', 'mptt', 'versatileimagefield', 'adminsortable2', 'constance', 'solo', 'vuejs_translate', 'robots', 'seo', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_recaptcha', 'standards', 'postie', 'parler', 'codemirror2', 'des', 'ckeditor', 'ckeditor_uploader', 'script_pattern', 'watson', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.postgres', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.facebook', 'rest_auth', 'rest_auth.registration', 'webpack_loader']
270INTERNAL_IPS = []
271IS_TINY = False
272LANGUAGES = "(('en', 'English'), ('ru', 'Russian'))"
273LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
274LANGUAGE_CODE = 'en'
275LANGUAGE_COOKIE_AGE = None
276LANGUAGE_COOKIE_DOMAIN = None
277LANGUAGE_COOKIE_NAME = 'django_language'
278LANGUAGE_COOKIE_PATH = '/'
279LIST_ACCSESS = ['jpeg', 'jpg', 'svg', 'png']
280LOCALE_PATHS = "(PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/locale'),)"
281LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
282LOGGING_CONFIG = 'logging.config.dictConfig'
283LOGIN_REDIRECT_URL = '/'
284LOGIN_URL = '/'
285LOGOUT_REDIRECT_URL = None
286MANAGERS = []
287MEDIA_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/uploads')
288MEDIA_URL = '/uploads/'
289MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
290MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'shared.middleware.extra_slashes_redirect_middleware', 'seo.middleware.url_seo_middleware']
291MIGRATION_MODULES = {}
292MODELTRANSLATION_DEFAULT_LANGUAGE = 'en'
293MODELTRANSLATION_TRANSLATION_REGISTRY = 'markup.translation'
294MONTH_DAY_FORMAT = 'F j'
295NUMBER_GROUPING = 0
296OLD_PASSWORD_FIELD_ENABLED = '********************'
297PARLER_DEFAULT_LANGUAGE_CODE = 'en'
298PARLER_LANGUAGES = {1: ({'code': 'en', 'fallbacks': ['en'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['en'], 'hide_untranslated': False}), 'default': {'fallbacks': ['en'], 'hide_untranslated': False, 'code': 'en'}}
299PASSWORD_HASHERS = '********************'
300PASSWORD_RESET_TIMEOUT_DAYS = '********************'
301POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {'attrs': {}}}
302POSTIE_INSTANT_SEND = True
303POSTIE_TEMPLATE_CHOICES = Choices(('client_registration', 'client_registration', 'Client registration'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Client password reset'), ('manager_registration', 'manager_registration', 'Manager registration'), ('conformity_price', 'conformity_price', 'Comfority expected price product'), ('subscribe', 'subscribe', 'Subscribe new object'), ('answer_feed_back', 'answer_feed_back', 'Answer on feed_back'), ('order_status', 'order_status', 'Order change status'))
304POSTIE_TEMPLATE_CONTEXTS = {'client_registration': {'var_url_activation': 'URL activation email'}, 'password_reset_confirm__user': '********************', 'manager_registration': {'var_password': '********************', 'var_login': 'login'}, 'conformity_price': {'var_url_product': 'URL product'}, 'subscribe': {'var_url_object': 'URL object'}, 'answer_feed_back': {'var_name': 'Name', 'var_question': 'Question', 'var_answer': 'Answer'}, 'order_status': {'var_order': 'Order', 'var_status': 'Status'}}
305PREPEND_WWW = False
306PROJECT_APPS = ['markup', 'shared', 'apps.staff', 'apps.nations', 'apps.products', 'apps.attributes', 'apps.shops', 'apps.about', 'apps.organization', 'apps.news', 'apps.features', 'apps.subscribers', 'apps.statistic', 'apps.managers', 'apps.frontend', 'apps.optimized_image']
307REST_FRAMEWORK = {'DEFAULT_METADATA_CLASS': 'standards.drf.metadata.FieldsetMetadata', 'DEFAULT_PARSER_CLASSES': ('standards.drf.parsers.CamelCaseORJSONParser', 'djangorestframework_camel_case.parser.CamelCaseFormParser', 'djangorestframework_camel_case.parser.CamelCaseMultiPartParser'), 'DEFAULT_RENDERER_CLASSES': ('djangorestframework_camel_case.render.CamelCaseJSONRenderer', 'djangorestframework_camel_case.render.CamelCaseBrowsableAPIRenderer'), 'EXCEPTION_HANDLER': 'standards.drf.handlers.exception_handler'}
308ROOT_URLCONF = 'app.urls'
309ROSETTA_SHOW_AT_ADMIN_PANEL = True
310SECRET_KEY = '********************'
311SECURE_BROWSER_XSS_FILTER = False
312SECURE_CONTENT_TYPE_NOSNIFF = False
313SECURE_HSTS_INCLUDE_SUBDOMAINS = False
314SECURE_HSTS_PRELOAD = False
315SECURE_HSTS_SECONDS = 0
316SECURE_PROXY_SSL_HEADER = None
317SECURE_REDIRECT_EXEMPT = []
318SECURE_SSL_HOST = None
319SECURE_SSL_REDIRECT = False
320SEO_DEBUG_MODE = False
321SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
322SEO_MODELS = ['news.news', 'about.PolicyPage', 'products.Product']
323SEO_USE_URL_FULL_PATH = True
324SEO_USE_URL_SEO = False
325SEO_VIEWS_CHOICES = '()'
326SERVER_EMAIL = 'root@localhost'
327SESSION_CACHE_ALIAS = 'default'
328SESSION_COOKIE_AGE = 1209600
329SESSION_COOKIE_DOMAIN = None
330SESSION_COOKIE_HTTPONLY = True
331SESSION_COOKIE_NAME = 'sessionid'
332SESSION_COOKIE_PATH = '/'
333SESSION_COOKIE_SAMESITE = 'Lax'
334SESSION_COOKIE_SECURE = False
335SESSION_ENGINE = 'django.contrib.sessions.backends.db'
336SESSION_EXPIRE_AT_BROWSER_CLOSE = False
337SESSION_FILE_PATH = None
338SESSION_SAVE_EVERY_REQUEST = False
339SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
340SETTINGS_MODULE = 'app.settings'
341SHORT_DATETIME_FORMAT = 'm/d/Y P'
342SHORT_DATE_FORMAT = 'm/d/Y'
343SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
344SILENCED_SYSTEM_CHECKS = []
345SITE_ID = 1
346SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.MSocialAccountAdapter'
347SOCIALACCOUNT_EMAIL_VERIFICATION = False
348SOCIALACCOUNT_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 0x7f965dc29050>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.3'}}
349STATICFILES_DIRS = []
350STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
351STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
352STATIC_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/static')
353STATIC_URL = '/static/'
354TEMPLATES = [{'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'], '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'], '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']}}]
355TEST_NON_SERIALIZED_APPS = []
356TEST_RUNNER = 'django.test.runner.DiscoverRunner'
357THOUSAND_SEPARATOR = ','
358TIME_FORMAT = 'P'
359TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
360TIME_ZONE = 'UTC'
361TINY_KEY = '********************'
362USE_I18N = True
363USE_L10N = True
364USE_THOUSAND_SEPARATOR = False
365USE_TZ = True
366USE_X_FORWARDED_HOST = False
367USE_X_FORWARDED_PORT = False
368VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
369VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 90, 'progressive_jpeg': True}
370WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/apps/frontend/static/frontend/webpack-stats.json')}}
371WSGI_APPLICATION = 'app.wsgi.application'
372X_FRAME_OPTIONS = 'SAMEORIGIN'
373YEAR_MONTH_FORMAT = 'F Y'
374
375
376You're seeing this error because you have DEBUG = True in your
377Django settings file. Change that to False, and Django will
378display a standard page generated by the handler for this status code.
379