· 4 years ago · Jan 27, 2021, 10:04 AM
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: Wed, 27 Jan 2021 09:57:33 +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.frontend',
23 'apps.optimized_image',
24 'rosetta',
25 'django_jinja',
26 'jet',
27 'import_export',
28 'modeltranslation',
29 'mptt',
30 'versatileimagefield',
31 'adminsortable2',
32 'constance',
33 'solo',
34 'vuejs_translate',
35 'robots',
36 'rest_framework',
37 'rest_framework.authtoken',
38 'rest_framework_recaptcha',
39 'standards',
40 'postie',
41 'parler',
42 'codemirror2',
43 'des',
44 'ckeditor',
45 'ckeditor_uploader',
46 'django.contrib.admin',
47 'django.contrib.auth',
48 'django.contrib.contenttypes',
49 'django.contrib.sessions',
50 'django.contrib.messages',
51 'django.contrib.staticfiles',
52 'django.contrib.sites',
53 'allauth',
54 'allauth.account',
55 'allauth.socialaccount',
56 'allauth.socialaccount.providers.google',
57 'allauth.socialaccount.providers.facebook',
58 'rest_auth',
59 'rest_auth.registration',
60 'webpack_loader']
61Installed Middleware:
62['django.middleware.security.SecurityMiddleware',
63 'django.contrib.sessions.middleware.SessionMiddleware',
64 'django.middleware.common.CommonMiddleware',
65 'django.middleware.csrf.CsrfViewMiddleware',
66 'django.middleware.locale.LocaleMiddleware',
67 'django.contrib.auth.middleware.AuthenticationMiddleware',
68 'django.contrib.messages.middleware.MessageMiddleware',
69 'django.middleware.clickjacking.XFrameOptionsMiddleware',
70 'shared.middleware.extra_slashes_redirect_middleware']
71
72
73Traceback:
74
75File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
76 34. response = get_response(request)
77
78File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
79 115. response = self.process_exception_by_middleware(e, request)
80
81File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
82 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
83
84File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in view
85 71. return self.dispatch(request, *args, **kwargs)
86
87File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in dispatch
88 97. return handler(request, *args, **kwargs)
89
90File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/views/generic/list.py" in get
91 158. return self.render_to_response(context)
92
93File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/shared/views.py" in render_to_response
94 44. 'data': response.rendered_content,
95
96File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django/template/response.py" in rendered_content
97 83. content = template.render(context, self._request)
98
99File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django_jinja/backend.py" in render
100 59. return mark_safe(self._process_template(self.template.render, context, request))
101
102File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/django_jinja/backend.py" in _process_template
103 105. return handler(context)
104
105File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/jinja2/environment.py" in render
106 1090. self.environment.handle_exception()
107
108File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/jinja2/environment.py" in handle_exception
109 832. reraise(*rewrite_traceback_stack(source=source))
110
111File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/jinja2/_compat.py" in reraise
112 28. raise value.with_traceback(tb)
113
114File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/markup/templates/response/product-response.jinja" in top-level template code
115 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, get_provider_links(request), organ.url_policy, organ.url_confidentiality)}}
116
117File "/home/coffeeindustry/coffeeindustry/coffeeindustry/server/.venv/lib/python3.7/site-packages/jinja2/environment.py" in getattr
118 471. return getattr(obj, attribute)
119
120Exception Type: UndefinedError at /green-coffee/catalog-card/;category=robusta/page/2/
121Exception Value: 'organ' is undefined
122Request information:
123USER: DanilKlimashov92@gmail.com
124
125GET: No GET data
126
127POST: No POST data
128
129FILES: No FILES data
130
131COOKIES:
132_ga = 'GA1.2.1505130517.1602254930'
133messages = '5bf1bf22b43f993da99159b97e4137600716198e$[["__json_message",0,25,"Successfully signed in as DanilKlimashov92@gmail.com."],["__json_message",0,25,"Successfully signed in as DanilKlimashov92@gmail.com."],["__json_message",0,20,"Confirmation e-mail sent to d78fd2b818@firemailbox.club."]]'
134view_count_news = 'NCwxLDMsMiw1'
135sessionid = 's3lilf3ypicyt7ss9yevuw1pwxk3yi4z'
136csrftoken = 'Jl4Jvm9vo05udB7ylmAOVWCYaIpRkljhCF82LqnYIKqefKcLgyyUXpL6vvsJe3YJ'
137
138META:
139CONTENT_TYPE = 'application/json'
140CSRF_COOKIE = 'Jl4Jvm9vo05udB7ylmAOVWCYaIpRkljhCF82LqnYIKqefKcLgyyUXpL6vvsJe3YJ'
141CSRF_COOKIE_USED = True
142HTTP_ACCEPT = '*/*'
143HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
144HTTP_ACCEPT_LANGUAGE = 'undefined'
145HTTP_CONNECTION = 'close'
146HTTP_COOKIE = '_ga=GA1.2.1505130517.1602254930; messages="5bf1bf22b43f993da99159b97e4137600716198e$[[\\"__json_message\\"\\0540\\05425\\054\\"Successfully signed in as DanilKlimashov92@gmail.com.\\"]\\054[\\"__json_message\\"\\0540\\05425\\054\\"Successfully signed in as DanilKlimashov92@gmail.com.\\"]\\054[\\"__json_message\\"\\0540\\05420\\054\\"Confirmation e-mail sent to d78fd2b818@firemailbox.club.\\"]]"; view_count_news=NCwxLDMsMiw1; sessionid=s3lilf3ypicyt7ss9yevuw1pwxk3yi4z; csrftoken=Jl4Jvm9vo05udB7ylmAOVWCYaIpRkljhCF82LqnYIKqefKcLgyyUXpL6vvsJe3YJ'
147HTTP_HOST = 'coffeeindustry.webcase-dev.com'
148HTTP_REFERER = 'https://coffeeindustry.webcase-dev.com/green-coffee/catalog/category=robusta/client'
149HTTP_SEC_FETCH_DEST = 'empty'
150HTTP_SEC_FETCH_MODE = 'same-origin'
151HTTP_SEC_FETCH_SITE = 'same-origin'
152HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36'
153HTTP_X_CSRFTOKEN = 'Jl4Jvm9vo05udB7ylmAOVWCYaIpRkljhCF82LqnYIKqefKcLgyyUXpL6vvsJe3YJ'
154HTTP_X_FORWARDED_FOR = '185.248.130.27'
155HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
156PATH_INFO = '/green-coffee/catalog-card/;category=robusta/page/2/'
157QUERY_STRING = ''
158RAW_URI = '/green-coffee/catalog-card/%3Bcategory%3Drobusta/page/2/'
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 0x7f94cd8f3bb0 object, fd=8, family=1, type=1, proto=0>
167wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f94cd7d81d0>
168wsgi.file_wrapper = ''
169wsgi.input = <gunicorn.http.body.Body object at 0x7f94cd37ff50>
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', 'allauth.account.auth_backends.AuthenticationBackend')"
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'>), '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'>)}
204CONSTANCE_CONFIG_FIELDSETS = {'PRODUCT': ('DAY_NEW_PRODUCT', 'PAGINATION_PRODUCT_LIST', 'PAGINATION_PRODUCT_STAND', 'PAGINATION_PRODUCT_PC', 'INDEX_LIMIT_PRODUCT', 'PAGINATION_FAVORITE_PRODUCT_PC'), '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')}
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.frontend', 'apps.optimized_image', 'rosetta', 'django_jinja', 'jet', 'import_export', 'modeltranslation', 'mptt', 'versatileimagefield', 'adminsortable2', 'constance', 'solo', 'vuejs_translate', 'robots', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_recaptcha', 'standards', 'postie', 'parler', 'codemirror2', 'des', 'ckeditor', 'ckeditor_uploader', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.facebook', 'rest_auth', 'rest_auth.registration', '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']
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'))
304POSTIE_TEMPLATE_CONTEXTS = {'client_registration': {'var_url_activation': 'URL activation email'}, 'password_reset_confirm__user': '********************'}
305PREPEND_WWW = False
306PROJECT_APPS = ['markup', 'shared', 'apps.staff', 'apps.nations', 'apps.products', 'apps.attributes', 'apps.shops', 'apps.about', 'apps.organization', 'apps.news', '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
320SERVER_EMAIL = 'root@localhost'
321SESSION_CACHE_ALIAS = 'default'
322SESSION_COOKIE_AGE = 1209600
323SESSION_COOKIE_DOMAIN = None
324SESSION_COOKIE_HTTPONLY = True
325SESSION_COOKIE_NAME = 'sessionid'
326SESSION_COOKIE_PATH = '/'
327SESSION_COOKIE_SAMESITE = 'Lax'
328SESSION_COOKIE_SECURE = False
329SESSION_ENGINE = 'django.contrib.sessions.backends.db'
330SESSION_EXPIRE_AT_BROWSER_CLOSE = False
331SESSION_FILE_PATH = None
332SESSION_SAVE_EVERY_REQUEST = False
333SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
334SETTINGS_MODULE = 'app.settings'
335SHORT_DATETIME_FORMAT = 'm/d/Y P'
336SHORT_DATE_FORMAT = 'm/d/Y'
337SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
338SILENCED_SYSTEM_CHECKS = []
339SITE_ID = 1
340SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.MSocialAccountAdapter'
341SOCIALACCOUNT_EMAIL_VERIFICATION = False
342SOCIALACCOUNT_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 0x7f94d5038c20>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.3'}}
343STATICFILES_DIRS = []
344STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
345STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
346STATIC_ROOT = PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/app/static')
347STATIC_URL = '/static/'
348TEMPLATES = [{'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']}}]
349TEST_NON_SERIALIZED_APPS = []
350TEST_RUNNER = 'django.test.runner.DiscoverRunner'
351THOUSAND_SEPARATOR = ','
352TIME_FORMAT = 'P'
353TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
354TIME_ZONE = 'UTC'
355TINY_KEY = '********************'
356USE_I18N = True
357USE_L10N = True
358USE_THOUSAND_SEPARATOR = False
359USE_TZ = True
360USE_X_FORWARDED_HOST = False
361USE_X_FORWARDED_PORT = False
362VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
363VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 90, 'progressive_jpeg': True}
364WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/coffeeindustry/coffeeindustry/coffeeindustry/server/apps/frontend/static/frontend/webpack-stats.json')}}
365WSGI_APPLICATION = 'app.wsgi.application'
366X_FRAME_OPTIONS = 'SAMEORIGIN'
367YEAR_MONTH_FORMAT = 'F Y'
368
369
370You're seeing this error because you have DEBUG = True in your
371Django settings file. Change that to False, and Django will
372display a standard page generated by the handler for this status code.
373