· 4 years ago · Feb 17, 2021, 03:02 PM
1AttributeError at /api/v1/query/list-got/;search/page/1/
2'NoneType' object has no attribute 'title'
3
4Request Method: GET
5Request URL: http://coffeeindustry.webcase-dev.com/api/v1/query/list-got/%3Bsearch/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: Wed, 17 Feb 2021 14:55:47 +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.frontend',
26 'apps.optimized_image',
27 'rosetta',
28 'django_jinja',
29 'jet',
30 'import_export',
31 'modeltranslation',
32 'mptt',
33 'versatileimagefield',
34 'adminsortable2',
35 'constance',
36 'solo',
37 'vuejs_translate',
38 'robots',
39 'seo',
40 'rest_framework',
41 'rest_framework.authtoken',
42 'rest_framework_recaptcha',
43 'standards',
44 'postie',
45 'parler',
46 'codemirror2',
47 'des',
48 'ckeditor',
49 'ckeditor_uploader',
50 'watson',
51 'django.contrib.admin',
52 'django.contrib.auth',
53 'django.contrib.contenttypes',
54 'django.contrib.sessions',
55 'django.contrib.messages',
56 'django.contrib.staticfiles',
57 'django.contrib.sites',
58 'django.contrib.postgres',
59 'allauth',
60 'allauth.account',
61 'allauth.socialaccount',
62 'allauth.socialaccount.providers.google',
63 'allauth.socialaccount.providers.facebook',
64 'rest_auth',
65 'rest_auth.registration',
66 'webpack_loader']
67Installed Middleware:
68['django.middleware.security.SecurityMiddleware',
69 'django.contrib.sessions.middleware.SessionMiddleware',
70 'django.middleware.common.CommonMiddleware',
71 'django.middleware.csrf.CsrfViewMiddleware',
72 'django.middleware.locale.LocaleMiddleware',
73 'django.contrib.auth.middleware.AuthenticationMiddleware',
74 'django.contrib.messages.middleware.MessageMiddleware',
75 'django.middleware.clickjacking.XFrameOptionsMiddleware',
76 'shared.middleware.extra_slashes_redirect_middleware',
77 'seo.middleware.url_seo_middleware']
78
79
80Traceback:
81
82File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
83 34. response = get_response(request)
84
85File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
86 115. response = self.process_exception_by_middleware(e, request)
87
88File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
89 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
90
91File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
92 54. return view_func(*args, **kwargs)
93
94File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in view
95 71. return self.dispatch(request, *args, **kwargs)
96
97File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
98 509. response = self.handle_exception(exc)
99
100File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
101 469. self.raise_uncaught_exception(exc)
102
103File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in raise_uncaught_exception
104 480. raise exc
105
106File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
107 506. response = handler(request, *args, **kwargs)
108
109File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/generics.py" in get
110 199. return self.list(request, *args, **kwargs)
111
112File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py" in list
113 43. return self.get_paginated_response(serializer.data)
114
115File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in data
116 745. ret = super().data
117
118File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in data
119 246. self._data = self.to_representation(self.instance)
120
121File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
122 664. self.child.to_representation(item) for item in iterable
123
124File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in <listcomp>
125 664. self.child.to_representation(item) for item in iterable
126
127File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
128 515. ret[field.field_name] = field.to_representation(attribute)
129
130File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/rest_framework/fields.py" in to_representation
131 1870. return method(value)
132
133File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/apps/shops/api/serializers/query.py" in get_query_type
134 79. return obj.product.title
135
136Exception Type: AttributeError at /api/v1/query/list-got/;search/page/1/
137Exception Value: 'NoneType' object has no attribute 'title'
138Request information:
139USER: klimayasha@gmail.com
140
141GET: No GET data
142
143POST: No POST data
144
145FILES: No FILES data
146
147COOKIES:
148_ga = 'GA1.2.994065350.1611740102'
149view_count_news = 'OCwxMQ=='
150csrftoken = 'jukztxhtEHmxIzhZzN0FUY9Ub7dpmxkkv27WnfnTlIeRv2AXnNgkJrIeMOvz1zpf'
151sessionid = 'p6lhsxfrpds4gkmgsgj0e5lm6lwi5wci'
152
153META:
154CONTENT_TYPE = 'application/json'
155CSRF_COOKIE = 'jukztxhtEHmxIzhZzN0FUY9Ub7dpmxkkv27WnfnTlIeRv2AXnNgkJrIeMOvz1zpf'
156HTTP_ACCEPT = '*/*'
157HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
158HTTP_ACCEPT_LANGUAGE = 'undefined'
159HTTP_CONNECTION = 'close'
160HTTP_COOKIE = '_ga=GA1.2.994065350.1611740102; view_count_news="OCwxMQ=="; csrftoken=jukztxhtEHmxIzhZzN0FUY9Ub7dpmxkkv27WnfnTlIeRv2AXnNgkJrIeMOvz1zpf; sessionid=p6lhsxfrpds4gkmgsgj0e5lm6lwi5wci'
161HTTP_HOST = 'coffeeindustry.webcase-dev.com'
162HTTP_REFERER = 'https://coffeeindustry.webcase-dev.com/customer/product-request/client'
163HTTP_SEC_FETCH_DEST = 'empty'
164HTTP_SEC_FETCH_MODE = 'same-origin'
165HTTP_SEC_FETCH_SITE = 'same-origin'
166HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36'
167HTTP_X_CSRFTOKEN = 'jukztxhtEHmxIzhZzN0FUY9Ub7dpmxkkv27WnfnTlIeRv2AXnNgkJrIeMOvz1zpf'
168HTTP_X_FORWARDED_FOR = '185.248.130.27'
169HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
170PATH_INFO = '/api/v1/query/list-got/;search/page/1/'
171QUERY_STRING = ''
172RAW_URI = '/api/v1/query/list-got/;search/page/1/'
173REMOTE_ADDR = ''
174REQUEST_METHOD = 'GET'
175SCRIPT_NAME = ''
176SERVER_NAME = 'coffeeindustry.webcase-dev.com'
177SERVER_PORT = '80'
178SERVER_PROTOCOL = 'HTTP/1.0'
179SERVER_SOFTWARE = 'gunicorn/20.0.4'
180gunicorn.socket = <gevent._socket3.socket at 0x7f832b31ade0 object, fd=13, family=1, type=1, proto=0>
181wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f832af3c6d0>
182wsgi.file_wrapper = ''
183wsgi.input = <gunicorn.http.body.Body object at 0x7f832aeed4d0>
184wsgi.input_terminated = True
185wsgi.multiprocess = True
186wsgi.multithread = True
187wsgi.run_once = False
188wsgi.url_scheme = 'http'
189wsgi.version = '(1, 0)'
190
191Settings:
192Using settings module app.settings
193ABSOLUTE_URL_OVERRIDES = {}
194ACCOUNT_ADAPTER = 'apps.staff.adapters.MAccountAdapter'
195ACCOUNT_AUTHENTICATION_METHOD = 'email'
196ACCOUNT_CONFIRM_EMAIL_ON_GET = True
197ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
198ACCOUNT_EMAIL_REQUIRED = True
199ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
200ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
201ACCOUNT_USERNAME_REQUIRED = False
202ADMINS = []
203ALLOWED_HOSTS = ['46.101.175.73', 'coffeeindustry.webcase-dev.com']
204APPEND_SLASH = True
205AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend')"
206AUTH_PASSWORD_VALIDATORS = '********************'
207AUTH_USER_MODEL = 'staff.CustomUser'
208BASE_DIR = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/settings/default.py')
209BASE_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app')
210CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
211CACHE_MIDDLEWARE_ALIAS = 'default'
212CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
213CACHE_MIDDLEWARE_SECONDS = 600
214CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
215CKEDITOR_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}}
216CKEDITOR_UPLOAD_PATH = 'uploads/'
217CONSTANCE_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'>)}
218CONSTANCE_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',), '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',)}
219CONSTANCE_DATABASE_CACHE_AUTOFILL_TIMEOUT = None
220CONSTANCE_REDIS_CONNECTION_CLASS = 'django_redis.get_redis_connection'
221CSRF_COOKIE_AGE = 31449600
222CSRF_COOKIE_DOMAIN = None
223CSRF_COOKIE_HTTPONLY = False
224CSRF_COOKIE_NAME = 'csrftoken'
225CSRF_COOKIE_PATH = '/'
226CSRF_COOKIE_SAMESITE = 'Lax'
227CSRF_COOKIE_SECURE = False
228CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
229CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
230CSRF_TRUSTED_ORIGINS = []
231CSRF_USE_SESSIONS = False
232DATABASES = {'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}}}
233DATABASE_ROUTERS = []
234DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
235DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
236DATETIME_FORMAT = 'N j, Y, P'
237DATETIME_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']
238DATE_FORMAT = 'N j, Y'
239DATE_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']
240DEBUG = True
241DEBUG_PROPAGATE_EXCEPTIONS = False
242DECIMAL_SEPARATOR = '.'
243DEFAULT_CHARSET = 'utf-8'
244DEFAULT_CONTENT_TYPE = 'text/html'
245DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
246DEFAULT_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']
247DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
248DEFAULT_FROM_EMAIL = 'admin@admin.admin'
249DEFAULT_INDEX_TABLESPACE = ''
250DEFAULT_TABLESPACE = ''
251DISALLOWED_USER_AGENTS = []
252DRF_RECAPTCHA_SECRET_KEY = '********************'
253DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
254EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
255EMAIL_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'}
256EMAIL_FILE_PATH = ''
257EMAIL_HOST = '127.0.0.1'
258EMAIL_HOST_PASSWORD = '********************'
259EMAIL_HOST_USER = None
260EMAIL_PORT = None
261EMAIL_SSL_CERTFILE = None
262EMAIL_SSL_KEYFILE = '********************'
263EMAIL_SUBJECT_PREFIX = '[Django] '
264EMAIL_TIMEOUT = None
265EMAIL_USE_LOCALTIME = False
266EMAIL_USE_SSL = False
267EMAIL_USE_TLS = False
268EXTRA_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$']
269FILE_CHARSET = 'utf-8'
270FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
271FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
272FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
273FILE_UPLOAD_PERMISSIONS = None
274FILE_UPLOAD_TEMP_DIR = None
275FIRST_DAY_OF_WEEK = 0
276FIXTURE_DIRS = []
277FORCE_SCRIPT_NAME = None
278FORMAT_MODULE_PATH = None
279FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
280GUNICORN_PID = '/tmp/coffee_industry.pid'
281HOME_URL = '/'
282IGNORABLE_404_URLS = []
283INSTALLED_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.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', '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']
284INTERNAL_IPS = []
285IS_TINY = False
286LANGUAGES = "(('en', 'English'), ('ru', 'Russian'))"
287LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
288LANGUAGE_CODE = 'en'
289LANGUAGE_COOKIE_AGE = None
290LANGUAGE_COOKIE_DOMAIN = None
291LANGUAGE_COOKIE_NAME = 'django_language'
292LANGUAGE_COOKIE_PATH = '/'
293LIST_ACCSESS = ['jpeg', 'jpg', 'svg', 'png']
294LOCALE_PATHS = "(PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/locale'),)"
295LOGGING = {'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']}}
296LOGGING_CONFIG = 'logging.config.dictConfig'
297LOGIN_REDIRECT_URL = '/'
298LOGIN_URL = '/'
299LOGOUT_REDIRECT_URL = None
300MANAGERS = []
301MEDIA_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/uploads')
302MEDIA_URL = '/uploads/'
303MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
304MIDDLEWARE = ['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']
305MIGRATION_MODULES = {}
306MODELTRANSLATION_DEFAULT_LANGUAGE = 'en'
307MODELTRANSLATION_TRANSLATION_REGISTRY = 'markup.translation'
308MONTH_DAY_FORMAT = 'F j'
309NUMBER_GROUPING = 0
310OLD_PASSWORD_FIELD_ENABLED = '********************'
311PARLER_DEFAULT_LANGUAGE_CODE = 'en'
312PARLER_LANGUAGES = {1: ({'code': 'en', 'fallbacks': ['en'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['en'], 'hide_untranslated': False}), 'default': {'fallbacks': ['en'], 'hide_untranslated': False, 'code': 'en'}}
313PASSWORD_HASHERS = '********************'
314PASSWORD_RESET_TIMEOUT_DAYS = '********************'
315POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {'attrs': {}}}
316POSTIE_INSTANT_SEND = True
317POSTIE_TEMPLATE_CHOICES = Choices(('client_registration', 'client_registration', 'Client registration'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Client password reset'), ('conformity_price', 'conformity_price', 'Comfority expected price product'), ('subscribe', 'subscribe', 'Subscribe new object'))
318POSTIE_TEMPLATE_CONTEXTS = {'client_registration': {'var_url_activation': 'URL activation email'}, 'password_reset_confirm__user': '********************', 'conformity_price': {'var_url_product': 'URL product'}, 'subscribe': {'var_url_object': 'URL object'}}
319PREPEND_WWW = False
320PROJECT_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.frontend', 'apps.optimized_image']
321REST_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'}
322ROOT_URLCONF = 'app.urls'
323ROSETTA_SHOW_AT_ADMIN_PANEL = True
324SECRET_KEY = '********************'
325SECURE_BROWSER_XSS_FILTER = False
326SECURE_CONTENT_TYPE_NOSNIFF = False
327SECURE_HSTS_INCLUDE_SUBDOMAINS = False
328SECURE_HSTS_PRELOAD = False
329SECURE_HSTS_SECONDS = 0
330SECURE_PROXY_SSL_HEADER = None
331SECURE_REDIRECT_EXEMPT = []
332SECURE_SSL_HOST = None
333SECURE_SSL_REDIRECT = False
334SEO_DEBUG_MODE = False
335SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
336SEO_MODELS = ['news.news', 'about.PolicyPage', 'products.Product']
337SEO_USE_URL_FULL_PATH = True
338SEO_USE_URL_SEO = False
339SEO_VIEWS_CHOICES = '()'
340SERVER_EMAIL = 'root@localhost'
341SESSION_CACHE_ALIAS = 'default'
342SESSION_COOKIE_AGE = 1209600
343SESSION_COOKIE_DOMAIN = None
344SESSION_COOKIE_HTTPONLY = True
345SESSION_COOKIE_NAME = 'sessionid'
346SESSION_COOKIE_PATH = '/'
347SESSION_COOKIE_SAMESITE = 'Lax'
348SESSION_COOKIE_SECURE = False
349SESSION_ENGINE = 'django.contrib.sessions.backends.db'
350SESSION_EXPIRE_AT_BROWSER_CLOSE = False
351SESSION_FILE_PATH = None
352SESSION_SAVE_EVERY_REQUEST = False
353SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
354SETTINGS_MODULE = 'app.settings'
355SHORT_DATETIME_FORMAT = 'm/d/Y P'
356SHORT_DATE_FORMAT = 'm/d/Y'
357SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
358SILENCED_SYSTEM_CHECKS = []
359SITE_ID = 1
360SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.MSocialAccountAdapter'
361SOCIALACCOUNT_EMAIL_VERIFICATION = False
362SOCIALACCOUNT_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 0x7f8332ebfef0>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.3'}}
363STATICFILES_DIRS = []
364STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
365STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
366STATIC_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/static')
367STATIC_URL = '/static/'
368TEMPLATES = [{'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']}}]
369TEST_NON_SERIALIZED_APPS = []
370TEST_RUNNER = 'django.test.runner.DiscoverRunner'
371THOUSAND_SEPARATOR = ','
372TIME_FORMAT = 'P'
373TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
374TIME_ZONE = 'UTC'
375TINY_KEY = '********************'
376USE_I18N = True
377USE_L10N = True
378USE_THOUSAND_SEPARATOR = False
379USE_TZ = True
380USE_X_FORWARDED_HOST = False
381USE_X_FORWARDED_PORT = False
382VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
383VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 90, 'progressive_jpeg': True}
384WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/apps/frontend/static/frontend/webpack-stats.json')}}
385WSGI_APPLICATION = 'app.wsgi.application'
386X_FRAME_OPTIONS = 'SAMEORIGIN'
387YEAR_MONTH_FORMAT = 'F Y'
388
389
390You're seeing this error because you have DEBUG = True in your
391Django settings file. Change that to False, and Django will
392display a standard page generated by the handler for this status code.
393