· 7 years ago · Oct 10, 2018, 12:02 PM
1InvalidOperation at /api/v1/cabinet/user/detail/
2[<class 'decimal.DivisionUndefined'>]
3
4Request Method: GET
5Request URL: http://localhost:8000/api/v1/cabinet/user/detail/
6Django Version: 2.0.7
7Python Executable: /home/developer/.local/share/virtualenvs/server-XGenMObp/bin/python
8Python Version: 3.6.5
9Python Path: ['/home/developer/work/cub_birja/server', '/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python36.zip', '/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6', '/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages', '/home/developer/work/cub_birja', '/home/developer/work/cub_birja/server', '/home/developer/work/cub_birja/server/app', '/home/developer/work/cub_birja/server']
10Server time: áр, 10 Öþò 2018 11:58:41 +0000
11Installed Applications:
12['markup',
13 'apps.mailer',
14 'apps.menu',
15 'apps.pages',
16 'apps.staff',
17 'apps.chat',
18 'apps.trade',
19 'apps.administration',
20 'apps.statistics',
21 'apps.auctions',
22 'apps.wallets',
23 'shared',
24 'rosetta',
25 'ckeditor',
26 'parler',
27 'django_jinja',
28 'snowpenguin.django.recaptcha2',
29 'channels',
30 'rest_framework',
31 'rest_framework.authtoken',
32 'django_filters',
33 'adminsortable2',
34 'drf_yasg',
35 'django_admin_lightweight_date_hierarchy',
36 'inline_actions',
37 'codemirror2',
38 'des',
39 'easy_thumbnails',
40 'constance',
41 'constance.backends.database',
42 'report_builder',
43 'rangefilter',
44 'admin_shortcuts',
45 'colorful',
46 'django_otp',
47 'django_otp.plugins.otp_totp',
48 'django.contrib.admin',
49 'django.contrib.auth',
50 'django.contrib.contenttypes',
51 'django.contrib.sessions',
52 'django.contrib.messages',
53 'django.contrib.staticfiles',
54 'django.contrib.sites']
55Installed Middleware:
56['django.middleware.security.SecurityMiddleware',
57 'django.contrib.sessions.middleware.SessionMiddleware',
58 'django.middleware.locale.LocaleMiddleware',
59 'django.middleware.common.CommonMiddleware',
60 'django.middleware.csrf.CsrfViewMiddleware',
61 'django.contrib.auth.middleware.AuthenticationMiddleware',
62 'django_otp.middleware.OTPMiddleware',
63 'django.contrib.messages.middleware.MessageMiddleware',
64 'django.middleware.clickjacking.XFrameOptionsMiddleware']
65
66
67Traceback:
68
69File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
70 35. response = get_response(request)
71
72File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
73 128. response = self.process_exception_by_middleware(e, request)
74
75File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
76 126. response = wrapped_callback(request, *callback_args, **callback_kwargs)
77
78File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
79 54. return view_func(*args, **kwargs)
80
81File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/django/views/generic/base.py" in view
82 69. return self.dispatch(request, *args, **kwargs)
83
84File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
85 483. response = self.handle_exception(exc)
86
87File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/views.py" in handle_exception
88 443. self.raise_uncaught_exception(exc)
89
90File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/views.py" in dispatch
91 480. response = handler(request, *args, **kwargs)
92
93File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/generics.py" in get
94 210. return self.retrieve(request, *args, **kwargs)
95
96File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/mixins.py" in retrieve
97 58. return Response(serializer.data)
98
99File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in data
100 560. ret = super(Serializer, self).data
101
102File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in data
103 262. self._data = self.to_representation(self.instance)
104
105File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
106 527. ret[field.field_name] = field.to_representation(attribute)
107
108File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
109 683. self.child.to_representation(item) for item in iterable
110
111File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in <listcomp>
112 683. self.child.to_representation(item) for item in iterable
113
114File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/serializers.py" in to_representation
115 527. ret[field.field_name] = field.to_representation(attribute)
116
117File "/home/developer/.local/share/virtualenvs/server-XGenMObp/lib/python3.6/site-packages/rest_framework/fields.py" in to_representation
118 1855. return method(value)
119
120File "/home/developer/work/cub_birja/server/apps/staff/api/serializers.py" in get_in_krb
121 86. return krb.round(obj.entity.in_krb)
122
123File "/home/developer/work/cub_birja/server/apps/staff/entities/wallet.py" in in_krb
124 135. return money / (currency_pair.min_rate or money)
125
126Exception Type: InvalidOperation at /api/v1/cabinet/user/detail/
127Exception Value: [<class 'decimal.DivisionUndefined'>]
128Request information:
129USER: deek
130
131GET: No GET data
132
133POST: No POST data
134
135FILES: No FILES data
136
137COOKIES:
138_ga = 'GA1.1.1400683529.1539072526'
139_gid = 'GA1.1.1919474584.1539072526'
140csrftoken = 'jXK17FUj4hJkepoZlsFLg0l6unpw7aF6t9Y5PXe8jbch5XfHd4fT2pgYqkadoOLA'
141sessionid = 'ssfpvm3q1fox508chw3wq5d5zwxqdfqb'
142
143META:
144CSRF_COOKIE = 'jXK17FUj4hJkepoZlsFLg0l6unpw7aF6t9Y5PXe8jbch5XfHd4fT2pgYqkadoOLA'
145HTTP_ACCEPT = 'application/json, text/plain, */*'
146HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
147HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'
148HTTP_CONNECTION = 'keep-alive'
149HTTP_COOKIE = '_ga=GA1.1.1400683529.1539072526; _gid=GA1.1.1919474584.1539072526; csrftoken=jXK17FUj4hJkepoZlsFLg0l6unpw7aF6t9Y5PXe8jbch5XfHd4fT2pgYqkadoOLA; sessionid=ssfpvm3q1fox508chw3wq5d5zwxqdfqb'
150HTTP_HOST = 'localhost:8000'
151HTTP_REFERER = 'http://localhost:8000/trade/?pk=1'
152HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.6 Safari/537.36'
153PATH_INFO = '/api/v1/cabinet/user/detail/'
154QUERY_STRING = ''
155REMOTE_ADDR = '127.0.0.1'
156REMOTE_HOST = '127.0.0.1'
157REMOTE_PORT = 56048
158REQUEST_METHOD = 'GET'
159SCRIPT_NAME = ''
160SERVER_NAME = '127.0.0.1'
161SERVER_PORT = '8000'
162wsgi.multiprocess = True
163wsgi.multithread = True
164
165Settings:
166Using settings module app.settings
167ABSOLUTE_URL_OVERRIDES = {}
168ADMINS = []
169ADMIN_SHORTCUTS = [{'title': 'Requests', 'shortcuts': [{'url_name': 'admin:staff_pinrequest_changelist', 'url_extra': '?status__exact=opened', 'title': 'Opened pin requests', 'count_new': 'apps.staff.admin_shortcuts.opened_pin_requests'}, {'url_name': 'admin:staff_userverificationrequest_changelist', 'url_extra': '?status__exact=opened', 'title': 'Opened user verification requests', 'count_new': 'apps.staff.admin_shortcuts.opened_user_verification_requests'}]}, {'title': 'Website', 'shortcuts': [{'url_name': 'admin:staff_userbalance_changelist', 'url_extra': '?user__isnull=True', 'title': 'Website balances'}]}]
170ALLOWED_HOSTS = ['*']
171APPEND_SLASH = True
172ASGI_APPLICATION = 'app.routing.application'
173AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
174AUTH_PASSWORD_VALIDATORS = '********************'
175AUTH_USER_MODEL = 'staff.User'
176BASE_DIR = PosixPath('/home/developer/work/cub_birja/server/app/settings/default.py')
177BASE_ROOT = PosixPath('/home/developer/work/cub_birja/server/app')
178CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/5', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}}
179CACHE_MIDDLEWARE_ALIAS = 'default'
180CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
181CACHE_MIDDLEWARE_SECONDS = 600
182CELERY_BROKER_URL = 'redis://localhost/0'
183CHANNEL_LAYERS = {'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': {'hosts': [('localhost', 6379)], 'capacity': 1000}}}
184CONSTANCE_ADDITIONAL_FIELDS = {'email_field': [<class 'django.forms.fields.EmailField'>, {}], 'image_field': [<class 'django.forms.fields.ImageField'>, {}], 'admin_foreign_key': '********************'}
185CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
186CONSTANCE_CONFIG = {'ADMIN_EMAIL': ('admin@admin.com', 'Admin email', 'email_field'), 'LOGO': ('', 'Website logo', 'image_field'), 'NIGHT_LOGO': ('', 'Website night logo', 'image_field'), 'FAQ_IMAGE': ('', 'FAQ image', 'image_field'), 'TELEGRAM': ('telegram.me', 'Telegram link', <class 'str'>), 'ADMIN_MESSENGER': ('', 'Admin account to send messages', 'admin_foreign_key'), 'ADMINISTRATION_DAY': (27, 'Day when the administration is done', <class 'int'>), 'AUCTIONS_DAY': (25, 'Day when the auctions is over', <class 'int'>), 'TOTAL_DICES': (10000, 'Total dices amount', <class 'int'>), 'FINANCE_SERVICE_TOKEN': '********************', 'FINANCE_SERVICE_URL': ('http://localhost:8001', 'Finance service url', <class 'str'>), 'KRB_MINIMUM_CONFIRMATIONS': (5, 'Karbowanec minimum confirmations', <class 'int'>), 'BTC_MINIMUM_CONFIRMATIONS': (5, 'Bitcoin minimum confirmations', <class 'int'>), 'LTC_MINIMUM_CONFIRMATIONS': (5, 'Litecoin minimum confirmations', <class 'int'>), 'DOGE_MINIMUM_CONFIRMATIONS': (5, 'Litecoin minimum confirmations', <class 'int'>), 'ETH_MINIMUM_CONFIRMATIONS': (5, 'Ethereum minimum confirmations', <class 'int'>), 'ADA_MINIMUM_CONFIRMATIONS': (5, 'Cardano minimum confirmations', <class 'int'>)}
187CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
188CSRF_COOKIE_AGE = 31449600
189CSRF_COOKIE_DOMAIN = None
190CSRF_COOKIE_HTTPONLY = False
191CSRF_COOKIE_NAME = 'csrftoken'
192CSRF_COOKIE_PATH = '/'
193CSRF_COOKIE_SECURE = False
194CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
195CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
196CSRF_TRUSTED_ORIGINS = []
197CSRF_USE_SESSIONS = False
198DATABASES = {'default': {'NAME': 'birja', 'USER': 'developer', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
199DATABASE_ROUTERS = []
200DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
201DATA_UPLOAD_MAX_NUMBER_FIELDS = 100000
202DATETIME_FORMAT = 'N j, Y, P'
203DATETIME_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']
204DATE_FORMAT = 'N j, Y'
205DATE_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']
206DDF_FIELD_FIXTURES = {'django.contrib.postgres.fields.ranges.IntegerRangeField': {'ddf_fixture': <function <lambda> at 0x7f0d3cadf378>}}
207DEBUG = 'True'
208DEBUG_PROPAGATE_EXCEPTIONS = False
209DECIMAL_SEPARATOR = '.'
210DEFAULT_CHARSET = 'utf-8'
211DEFAULT_CONTENT_TYPE = 'text/html'
212DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
213DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', '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']
214DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
215DEFAULT_FROM_EMAIL = 'webmaster@localhost'
216DEFAULT_INDEX_TABLESPACE = ''
217DEFAULT_TABLESPACE = ''
218DISALLOWED_USER_AGENTS = []
219EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
220EMAIL_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'}
221EMAIL_FILE_PATH = ''
222EMAIL_HOST = '127.0.0.1'
223EMAIL_HOST_PASSWORD = '********************'
224EMAIL_HOST_USER = None
225EMAIL_PORT = None
226EMAIL_SSL_CERTFILE = None
227EMAIL_SSL_KEYFILE = '********************'
228EMAIL_SUBJECT_PREFIX = '[Django] '
229EMAIL_TIMEOUT = None
230EMAIL_USE_LOCALTIME = False
231EMAIL_USE_SSL = False
232EMAIL_USE_TLS = False
233FILE_CHARSET = 'utf-8'
234FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
235FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
236FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
237FILE_UPLOAD_PERMISSIONS = None
238FILE_UPLOAD_TEMP_DIR = None
239FINANCE_AUTH_LOGIN = ''
240FINANCE_AUTH_PASSWORD = '********************'
241FIRST_DAY_OF_WEEK = 0
242FIXTURE_DIRS = []
243FORCE_SCRIPT_NAME = None
244FORMAT_MODULE_PATH = None
245FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
246GEOIP_PATH = '/home/developer/work/cub_birja/server/app'
247IGNORABLE_404_URLS = []
248INSTALLED_APPS = ['markup', 'apps.mailer', 'apps.menu', 'apps.pages', 'apps.staff', 'apps.chat', 'apps.trade', 'apps.administration', 'apps.statistics', 'apps.auctions', 'apps.wallets', 'shared', 'rosetta', 'ckeditor', 'parler', 'django_jinja', 'snowpenguin.django.recaptcha2', 'channels', 'rest_framework', 'rest_framework.authtoken', 'django_filters', 'adminsortable2', 'drf_yasg', 'django_admin_lightweight_date_hierarchy', 'inline_actions', 'codemirror2', 'des', 'easy_thumbnails', 'constance', 'constance.backends.database', 'report_builder', 'rangefilter', 'admin_shortcuts', 'colorful', 'django_otp', 'django_otp.plugins.otp_totp', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites']
249INTERNAL_IPS = []
250JWT_AUTH = {'JWT_ALLOW_REFRESH': True, 'JWT_EXPIRATION_DELTA': datetime.timedelta(1)}
251LANGUAGES = "(('uk', 'ãúрðїýÑÂьúð'), ('ru', 'à þÑÂіùÑÂьúð'), ('en', 'ÃÂýóûіùÑÂьúð'))"
252LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
253LANGUAGE_CODE = 'uk'
254LANGUAGE_COOKIE_AGE = None
255LANGUAGE_COOKIE_DOMAIN = None
256LANGUAGE_COOKIE_NAME = 'django_language'
257LANGUAGE_COOKIE_PATH = '/'
258LOCALE_PATHS = "(PosixPath('/home/developer/work/cub_birja/server/app/locale'), PosixPath('/home/developer/work/cub_birja/server/app/drf_locale'))"
259LOGGING = {}
260LOGGING_CONFIG = 'logging.config.dictConfig'
261LOGIN_REDIRECT_URL = '/cabinet/'
262LOGIN_URL = '/'
263LOGOUT_REDIRECT_URL = 'pages:index'
264MAIL_INSTANT_SEND = True
265MAIL_TEMPLATE_CHOICES = Choices(('login', 'login', 'Login'), ('registration', 'registration', 'Registration'), ('password_reset', 'password_reset', 'ßõрõòÑÂтðýþòûõýýѠÿðрþûю'), ('password_reseted', 'password_reseted', 'Password reseted'), ('password_change', 'password_change', '×üіýð ÿðрþûю'), ('pin_change', 'pin_change', 'Pin change'), ('pin_changed', 'pin_changed', 'Pin changed'), ('verification_request', 'verification_request', 'New user request verification'), ('auction_finished', 'auction_finished', 'Auction finished results'), ('balances_holded_admin', 'balances_holded_admin', 'Balance holded admin notification'), ('balances_holded', 'balances_holded', 'Balance holded notification'), ('interrupted_bet', 'interrupted_bet', 'Bet was interrupted by another user'), ('feedback', 'feedback', 'Feedback'), ('new_withdraw_admin', 'new_withdraw_admin', 'Admin notification about withdraw order'), ('withdraw_order_send', 'withdraw_order_send', 'Withdraw transaction was sent'))
266MAIL_TEMPLATE_CONTEXT = {'login': {'ip': 'User login ip', 'country': 'User login country', 'username': 'User username'}, 'registration': {'email': 'User email', 'username': 'User username', 'url': 'Account activation url', 'site_name': 'Webiste name', 'pin_code': 'User pincode'}, 'password_reset': '********************', 'password_change': '********************', 'password_reseted': '********************', 'pin_change': {'reason': 'Reason to change password', 'username': 'User username', 'email': 'User email'}, 'pin_changed': {'pin': 'New pincode'}, 'verification_request': {'username': 'User username', 'field_label': 'User field name'}, 'auction_finished': {}, 'balances_holded_admin': {'for_hours': 'Holding time', 'reason': 'Holding reason', 'username': 'User whose balances were holded'}, 'balances_holded': {'for_hours': 'Holding time', 'reason': 'Holding reason', 'username': 'User whose balances were holded'}, 'interrupted_bet': {'lot_id': 'Lot id', 'bet_value': 'User bet value'}, 'feedback': {'name': 'User name', 'email': 'User email', 'phone': 'User phone', 'question': 'User question'}, 'new_withdraw_admin': {'id': 'Transaction id', 'user_id': 'Transation user id', 'username': 'Transaction user username', 'currency': 'Transaction currency', 'sum': 'Transaction sum', 'fee': 'Transaction fee', 'created_at': 'Transaction creation time'}, 'withdraw_order_send': {'hash': 'Transaction hash', 'username': 'Transaction user'}}
267MANAGERS = []
268MEDIA_ROOT = PosixPath('/home/developer/work/cub_birja/server/app/uploads')
269MEDIA_URL = '/uploads/'
270MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
271MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']
272MIGRATION_MODULES = {}
273MONTH_DAY_FORMAT = 'F j'
274NUMBER_GROUPING = 0
275PARLER_LANGUAGES = {None: ({'code': 'en', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False}), 1: ({'code': 'en', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False}), 'default': {'fallbacks': ['uk'], 'hide_untranslated': False, 'code': 'uk'}}
276PASSWORD_HASHERS = '********************'
277PASSWORD_RESET_TIMEOUT_DAYS = '********************'
278PREPEND_WWW = False
279PROJECT_APPS = ['markup', 'apps.mailer', 'apps.menu', 'apps.pages', 'apps.staff', 'apps.chat', 'apps.trade', 'apps.administration', 'apps.statistics', 'apps.auctions', 'apps.wallets', 'shared']
280RECAPTCHA_PRIVATE_KEY = '********************'
281RECAPTCHA_PUBLIC_KEY = '********************'
282REDOC_SETTINGS = {}
283REST_FRAMEWORK = {'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',), 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication')}
284ROOT_URLCONF = 'app.urls'
285SECRET_KEY = '********************'
286SECURE_BROWSER_XSS_FILTER = False
287SECURE_CONTENT_TYPE_NOSNIFF = False
288SECURE_HSTS_INCLUDE_SUBDOMAINS = False
289SECURE_HSTS_PRELOAD = False
290SECURE_HSTS_SECONDS = 0
291SECURE_PROXY_SSL_HEADER = None
292SECURE_REDIRECT_EXEMPT = []
293SECURE_SSL_HOST = None
294SECURE_SSL_REDIRECT = False
295SERVER_EMAIL = 'root@localhost'
296SESSION_CACHE_ALIAS = 'default'
297SESSION_COOKIE_AGE = 1209600
298SESSION_COOKIE_DOMAIN = None
299SESSION_COOKIE_HTTPONLY = True
300SESSION_COOKIE_NAME = 'sessionid'
301SESSION_COOKIE_PATH = '/'
302SESSION_COOKIE_SECURE = False
303SESSION_ENGINE = 'django.contrib.sessions.backends.db'
304SESSION_EXPIRE_AT_BROWSER_CLOSE = True
305SESSION_FILE_PATH = None
306SESSION_SAVE_EVERY_REQUEST = False
307SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
308SETTINGS_MODULE = 'app.settings'
309SHORT_DATETIME_FORMAT = 'm/d/Y P'
310SHORT_DATE_FORMAT = 'm/d/Y'
311SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
312SILENCED_SYSTEM_CHECKS = []
313SITEVERIFY_PRIVATE_KEY = '********************'
314SITEVERIFY_PUBLIC_KEY = '********************'
315SITE_ID = 1
316SMSFLY_LOGIN = '380994491984'
317SMSFLY_PASSWORD = '********************'
318STATICFILES_DIRS = []
319STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
320STATICFILES_STORAGE = 'markup.storages.SafeManifestStaticFilesStorage'
321STATIC_ROOT = PosixPath('/home/developer/work/cub_birja/server/app/static')
322STATIC_URL = '/static/'
323SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'api_key': '********************'}, 'DEFAULT_INFO': 'app.urls.Info', 'DEFAULT_GENERATOR_CLASS': 'app.docs.PublicOpenAPISchemaGenerator'}
324TEMPLATES = [{'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', 'shared.context_processors.recaptcha_public_key', 'constance.context_processors.config'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', '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'], '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', 'constance.context_processors.config']}}]
325TEST_NON_SERIALIZED_APPS = []
326TEST_RUNNER = 'django.test.runner.DiscoverRunner'
327THOUSAND_SEPARATOR = ','
328TIME_FORMAT = 'P'
329TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
330TIME_ZONE = 'UTC'
331USE_ETAGS = False
332USE_I18N = True
333USE_L10N = True
334USE_THOUSAND_SEPARATOR = False
335USE_TZ = True
336USE_X_FORWARDED_HOST = False
337USE_X_FORWARDED_PORT = False
338WSGI_APPLICATION = 'app.wsgi.application'
339X_FRAME_OPTIONS = 'SAMEORIGIN'
340YEAR_MONTH_FORMAT = 'F Y'
341
342
343You're seeing this error because you have DEBUG = True in your
344Django settings file. Change that to False, and Django will
345display a standard page generated by the handler for this status code.