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