· 5 years ago · Oct 06, 2020, 07:04 AM
1IntegrityError at /api/v1/auth/register/
2null value in column "single_forecast_price" violates not-null constraint
3DETAIL: Failing row contains (112, pbkdf2_sha256$180000$A9HVu76Ug6pW$NW4IfCCuBjfbIRbjfG9g5jD9Xs82qv..., null, f, alinaqwe, , , pedew66670@bboygarage.com, f, t, 2020-10-06 06:57:23.824989+00, , sadsavxcv, null, t, null, null, 0, 0, t, 0.00, , null, f, 1, 0.00, null, null, null, f, null, 0.00, 0, null, 1).
4
5
6Request Method: POST
7Request URL: https://topbet.ua/api/v1/auth/register/
8Django Version: 3.0.10
9Python Executable: /home/topbet/topbet/topbet/server/.venv/bin/python3.7
10Python Version: 3.7.3
11Python Path: ['/home/topbet/topbet/topbet/server', '/home/topbet/topbet/topbet/server/.venv/bin', '/home/topbet/topbet/topbet/server/.venv/lib/python37.zip', '/home/topbet/topbet/topbet/server/.venv/lib/python3.7', '/home/topbet/topbet/topbet/server/.venv/lib/python3.7/lib-dynload', '/usr/lib/python3.7', '/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages']
12Server time: Вт, 6 Жов 2020 09:57:23 +0300
13Installed Applications:
14['markup',
15 'shared',
16 'apps.academy',
17 'apps.adds',
18 'apps.bots',
19 'apps.bookmakers',
20 'apps.chat',
21 'apps.common',
22 'apps.faq',
23 'apps.forecasts',
24 'apps.handling',
25 'apps.messengers',
26 'apps.organization',
27 'apps.pages',
28 'apps.payments',
29 'apps.security',
30 'apps.staff',
31 'apps.stats',
32 'admin_auto_filters',
33 'adminsortable2',
34 'ckeditor',
35 'ckeditor_uploader',
36 'des',
37 'django_filters',
38 'django_jinja',
39 'jet',
40 'modeltranslation',
41 'parler',
42 'postie',
43 'rest_framework',
44 'rest_framework.authtoken',
45 'rest_framework_recaptcha',
46 'robots',
47 'rosetta',
48 'script_pattern',
49 'seo',
50 'solo',
51 'standards',
52 'subdomains',
53 'vuejs_translate',
54 'django.contrib.admin',
55 'django.contrib.auth',
56 'django.contrib.contenttypes',
57 'qsessions',
58 'django.contrib.messages',
59 'django.contrib.staticfiles',
60 'django.contrib.sites',
61 'allauth',
62 'allauth.account',
63 'allauth.socialaccount',
64 'allauth.socialaccount.providers.google',
65 'allauth.socialaccount.providers.facebook',
66 'allauth.socialaccount.providers.twitter',
67 'rest_auth',
68 'rest_auth.registration',
69 'django_otp',
70 'django_otp.plugins.otp_totp',
71 'django_otp.plugins.otp_email']
72Installed Middleware:
73['django.middleware.security.SecurityMiddleware',
74 'qsessions.middleware.SessionMiddleware',
75 'subdomains.middleware.SubdomainMiddleware',
76 'django.middleware.common.CommonMiddleware',
77 'django.middleware.csrf.CsrfViewMiddleware',
78 'django.middleware.locale.LocaleMiddleware',
79 'django.contrib.auth.middleware.AuthenticationMiddleware',
80 'django_otp.middleware.OTPMiddleware',
81 'django.contrib.messages.middleware.MessageMiddleware',
82 'django.middleware.clickjacking.XFrameOptionsMiddleware',
83 'seo.middleware.url_seo_middleware']
84
85
86Traceback (most recent call last):
87 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
88 return self.cursor.execute(sql, params)
89
90The above exception (null value in column "single_forecast_price" violates not-null constraint
91DETAIL: Failing row contains (112, pbkdf2_sha256$180000$A9HVu76Ug6pW$NW4IfCCuBjfbIRbjfG9g5jD9Xs82qv..., null, f, alinaqwe, , , pedew66670@bboygarage.com, f, t, 2020-10-06 06:57:23.824989+00, , sadsavxcv, null, t, null, null, 0, 0, t, 0.00, , null, f, 1, 0.00, null, null, null, f, null, 0.00, 0, null, 1).
92) was the direct cause of the following exception:
93 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
94 response = get_response(request)
95 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
96 response = self.process_exception_by_middleware(e, request)
97 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
98 response = wrapped_callback(request, *callback_args, **callback_kwargs)
99 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
100 return view_func(*args, **kwargs)
101 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
102 return self.dispatch(request, *args, **kwargs)
103 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/utils/decorators.py", line 43, in _wrapper
104 return bound_method(*args, **kwargs)
105 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
106 return view(request, *args, **kwargs)
107 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_auth/registration/views.py", line 46, in dispatch
108 return super(RegisterView, self).dispatch(*args, **kwargs)
109 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 505, in dispatch
110 response = self.handle_exception(exc)
111 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 465, in handle_exception
112 self.raise_uncaught_exception(exc)
113 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
114 raise exc
115 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 502, in dispatch
116 response = handler(request, *args, **kwargs)
117 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/generics.py", line 190, in post
118 return self.create(request, *args, **kwargs)
119 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_auth/registration/views.py", line 65, in create
120 user = self.perform_create(serializer)
121 File "/home/topbet/topbet/topbet/server/apps/staff/views/auth.py", line 65, in perform_create
122 user = super().perform_create(serializer)
123 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_auth/registration/views.py", line 73, in perform_create
124 user = serializer.save(self.request)
125 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_auth/registration/serializers.py", line 210, in save
126 adapter.save_user(request, user, self)
127 File "/home/topbet/topbet/topbet/server/apps/staff/adapters.py", line 113, in save_user
128 return super().save_user(request, user, form, commit=commit)
129 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/allauth/account/adapter.py", line 243, in save_user
130 user.save()
131 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/contrib/auth/base_user.py", line 66, in save
132 super().save(*args, **kwargs)
133 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/base.py", line 749, in save
134 force_update=force_update, update_fields=update_fields)
135 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/base.py", line 787, in save_base
136 force_update, using, update_fields,
137 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/base.py", line 890, in _save_table
138 results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
139 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/base.py", line 929, in _do_insert
140 using=using, raw=raw,
141 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
142 return getattr(self.get_queryset(), name)(*args, **kwargs)
143 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/query.py", line 1204, in _insert
144 return query.get_compiler(using=using).execute_sql(returning_fields)
145 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1394, in execute_sql
146 cursor.execute(sql, params)
147 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 100, in execute
148 return super().execute(sql, params)
149 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
150 return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
151 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
152 return executor(sql, params, many, context)
153 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
154 return self.cursor.execute(sql, params)
155 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/utils.py", line 90, in __exit__
156 raise dj_exc_value.with_traceback(traceback) from exc_value
157 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 86, in _execute
158 return self.cursor.execute(sql, params)
159
160Exception Type: IntegrityError at /api/v1/auth/register/
161Exception Value: null value in column "single_forecast_price" violates not-null constraint
162DETAIL: Failing row contains (112, pbkdf2_sha256$180000$A9HVu76Ug6pW$NW4IfCCuBjfbIRbjfG9g5jD9Xs82qv..., null, f, alinaqwe, , , pedew66670@bboygarage.com, f, t, 2020-10-06 06:57:23.824989+00, , sadsavxcv, null, t, null, null, 0, 0, t, 0.00, , null, f, 1, 0.00, null, null, null, f, null, 0.00, 0, null, 1).
163
164Request information:
165USER: AnonymousUser
166
167GET: No GET data
168
169POST: No POST data
170
171FILES: No FILES data
172
173COOKIES:
174top_bet_cookies_accept = 'true'
175sidebar_pinned = 'true'
176top_bet_theme = 'light'
177csrftoken = '1jpackpQjpls9RaOejJdtj1zpyOaTzEzyA4S8im9ca3EhodiQR0H9LYaZq9BNiEV'
178
179META:
180CONTENT_LENGTH = '661'
181CONTENT_TYPE = 'application/json;charset=UTF-8'
182CSRF_COOKIE = '1jpackpQjpls9RaOejJdtj1zpyOaTzEzyA4S8im9ca3EhodiQR0H9LYaZq9BNiEV'
183HTTP_ACCEPT = 'application/json, text/plain, */*'
184HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
185HTTP_ACCEPT_LANGUAGE = 'undefined'
186HTTP_CACHE_CONTROL = 'no-cache'
187HTTP_CONNECTION = 'close'
188HTTP_COOKIE = 'top_bet_cookies_accept="true"; sidebar_pinned=true; top_bet_cookies_accept=true; top_bet_theme=light; csrftoken=1jpackpQjpls9RaOejJdtj1zpyOaTzEzyA4S8im9ca3EhodiQR0H9LYaZq9BNiEV'
189HTTP_HOST = 'topbet.ua'
190HTTP_ORIGIN = 'https://topbet.ua'
191HTTP_PRAGMA = 'no-cache'
192HTTP_REFERER = 'https://topbet.ua/'
193HTTP_SEC_FETCH_DEST = 'empty'
194HTTP_SEC_FETCH_MODE = 'cors'
195HTTP_SEC_FETCH_SITE = 'same-origin'
196HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36'
197HTTP_X_CSRFTOKEN = '1jpackpQjpls9RaOejJdtj1zpyOaTzEzyA4S8im9ca3EhodiQR0H9LYaZq9BNiEV'
198HTTP_X_FORWARDED_FOR = '185.248.130.27'
199HTTP_X_FORWARDED_PROTO = 'https'
200HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
201PATH_INFO = '/api/v1/auth/register/'
202QUERY_STRING = ''
203RAW_URI = '/api/v1/auth/register/'
204REMOTE_ADDR = ''
205REQUEST_METHOD = 'POST'
206SCRIPT_NAME = ''
207SERVER_NAME = 'topbet.ua'
208SERVER_PORT = '443'
209SERVER_PROTOCOL = 'HTTP/1.0'
210SERVER_SOFTWARE = 'gunicorn/20.0.4'
211gunicorn.socket = <gevent._socket3.socket at 0x7fd03f90a2c8 object, fd=17, family=1, type=1, proto=0>
212wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fd03ed76438>
213wsgi.file_wrapper = ''
214wsgi.input = <gunicorn.http.body.Body object at 0x7fd03ed763c8>
215wsgi.input_terminated = True
216wsgi.multiprocess = True
217wsgi.multithread = True
218wsgi.run_once = False
219wsgi.url_scheme = 'https'
220wsgi.version = '(1, 0)'
221
222Settings:
223Using settings module app.settings
224ABSOLUTE_URL_OVERRIDES = {}
225ACCOUNT_ADAPTER = 'apps.staff.adapters.AccountAdapter'
226ACCOUNT_AUTHENTICATION_METHOD = 'username'
227ACCOUNT_CONFIRM_EMAIL_ON_GET = True
228ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
229ACCOUNT_EMAIL_REQUIRED = True
230ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
231ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
232ACCOUNT_LOGIN_ON_PASSWORD_RESET = '********************'
233ACCOUNT_LOGOUT_ON_GET = True
234ACCOUNT_UNIQUE_EMAIL = False
235ACCOUNT_USERNAME_REQUIRED = True
236ADMINS = []
237ALLOWED_HOSTS = ['157.230.103.229', '.topbet.ua']
238API_RE_PREFIX = '********************'
239APPEND_SLASH = True
240AUTHENTICATION_BACKENDS = "('apps.staff.auth_backends.AuthenticationBackend',)"
241AUTH_PASSWORD_VALIDATORS = '********************'
242AUTH_USER_MODEL = 'staff.CustomUser'
243BASE_DIR = PosixPath('/home/topbet/topbet/topbet/server/app/settings/default.py')
244BASE_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app')
245BASE_URL = 'https://topbet.ua'
246CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
247CACHE_MIDDLEWARE_ALIAS = 'default'
248CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
249CACHE_MIDDLEWARE_SECONDS = 600
250CELERY_ACCEPT_CONTENT = ['json']
251CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
252CELERY_RESULT_SERIALIZER = 'json'
253CELERY_TASK_SERIALIZER = 'json'
254CKEDITOR_CONFIGS = {'default': {'skin': 'office2013', 'CKEDITOR_BROWSE_SHOW_DIRS': True, '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']}, '/', {'name': 'yourcustomtools', 'items': ['Preview', 'Maximize']}], 'toolbar': 'YourCustomToolbarConfig', 'tabSpaces': 4, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,widget,lineutils,clipboard,dialog,dialogui,elementspath,uploadwidget'}}
255CKEDITOR_UPLOAD_PATH = ''
256CRUMBS_HOME_URL_NAME = 'pages:index'
257CSRF_COOKIE_AGE = 31449600
258CSRF_COOKIE_DOMAIN = 'topbet.ua'
259CSRF_COOKIE_HTTPONLY = False
260CSRF_COOKIE_NAME = 'csrftoken'
261CSRF_COOKIE_PATH = '/'
262CSRF_COOKIE_SAMESITE = 'Lax'
263CSRF_COOKIE_SECURE = True
264CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
265CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
266CSRF_TRUSTED_ORIGINS = []
267CSRF_USE_SESSIONS = False
268DATABASES = {'default': {'NAME': 'topbet_db', 'USER': 'topbet_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}}}
269DATABASE_ROUTERS = []
270DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
271DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
272DATETIME_FORMAT = '%d.%m.%Y, %H:%M:%S'
273DATETIME_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']
274DATE_FORMAT = '%d.%m.%Y'
275DATE_INPUT_FORMATS = ['%d.%m.%Y', '%d.%m.%y', '%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']
276DEBUG = 'True'
277DEBUG_PROPAGATE_EXCEPTIONS = False
278DEBUG_TOOLBAR_CONFIG = {'SHOW_COLLAPSED': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7fd04bb309d8>}
279DECIMAL_SEPARATOR = '.'
280DEFAULT_CHARSET = 'utf-8'
281DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
282DEFAULT_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']
283DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
284DEFAULT_FROM_EMAIL = 'admin@admin.admin'
285DEFAULT_INDEX_TABLESPACE = ''
286DEFAULT_TABLESPACE = ''
287DISALLOWED_USER_AGENTS = []
288DRF_RECAPTCHA_PUBLIC_KEY = '********************'
289DRF_RECAPTCHA_SECRET_KEY = '********************'
290DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
291EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
292EMAIL_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'}
293EMAIL_FILE_PATH = ''
294EMAIL_HOST = '127.0.0.1'
295EMAIL_HOST_PASSWORD = '********************'
296EMAIL_HOST_USER = None
297EMAIL_PORT = None
298EMAIL_SSL_CERTFILE = None
299EMAIL_SSL_KEYFILE = '********************'
300EMAIL_SUBJECT_PREFIX = '[Django] '
301EMAIL_TIMEOUT = None
302EMAIL_USE_LOCALTIME = False
303EMAIL_USE_SSL = False
304EMAIL_USE_TLS = False
305FILE_CHARSET = 'utf-8'
306FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
307FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
308FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
309FILE_UPLOAD_PERMISSIONS = 420
310FILE_UPLOAD_TEMP_DIR = None
311FIRST_DAY_OF_WEEK = 0
312FIXTURE_DIRS = []
313FORCE_SCRIPT_NAME = None
314FORMAT_MODULE_PATH = None
315FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
316IGNORABLE_404_URLS = []
317INSTALLED_APPS = ['markup', 'shared', 'apps.academy', 'apps.adds', 'apps.bots', 'apps.bookmakers', 'apps.chat', 'apps.common', 'apps.faq', 'apps.forecasts', 'apps.handling', 'apps.messengers', 'apps.organization', 'apps.pages', 'apps.payments', 'apps.security', 'apps.staff', 'apps.stats', 'admin_auto_filters', 'adminsortable2', 'ckeditor', 'ckeditor_uploader', 'des', 'django_filters', 'django_jinja', 'jet', 'modeltranslation', 'parler', 'postie', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_recaptcha', 'robots', 'rosetta', 'script_pattern', 'seo', 'solo', 'standards', 'subdomains', 'vuejs_translate', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'qsessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.twitter', 'rest_auth', 'rest_auth.registration', 'django_otp', 'django_otp.plugins.otp_totp', 'django_otp.plugins.otp_email']
318INTERNAL_IPS = []
319JET_SIDE_MENU_COMPACT = True
320LANGUAGES = "(('uk', 'Ukrainian'), ('ru', 'Russian'), ('en', 'English'))"
321LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
322LANGUAGE_CODE = 'uk'
323LANGUAGE_COOKIE_AGE = None
324LANGUAGE_COOKIE_DOMAIN = None
325LANGUAGE_COOKIE_HTTPONLY = False
326LANGUAGE_COOKIE_NAME = 'django_language'
327LANGUAGE_COOKIE_PATH = '/'
328LANGUAGE_COOKIE_SAMESITE = None
329LANGUAGE_COOKIE_SECURE = False
330LOCALE_PATHS = "(PosixPath('/home/topbet/topbet/topbet/server/app/locale'),)"
331LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/topbet/topbet/topbet/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
332LOGGING_CONFIG = 'logging.config.dictConfig'
333LOGIN_REDIRECT_URL = '/auth/login/'
334LOGIN_URL = '/#auth'
335LOGOUT_REDIRECT_URL = None
336MANAGERS = []
337MEDIA_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/uploads')
338MEDIA_URL = '/uploads/'
339MESSAGE_CONFIGS = {'telegram': {'events': {'new_forecast__user': {'domain': 'Domain'}}}}
340MESSAGE_EVENTS = Choices(('new_forecast__user', 'new_forecast__user', 'New forecast (user)'))
341MESSAGE_HTML_ADMIN_WIDGETS = {'ckeditor': {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}}
342MESSAGE_SECTIONS = Choices(('telegram', 'telegram', 'Telegram'))
343MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
344MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'qsessions.middleware.SessionMiddleware', 'subdomains.middleware.SubdomainMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'seo.middleware.url_seo_middleware']
345MIGRATION_MODULES = {}
346MONTH_DAY_FORMAT = 'F j'
347NUMBER_GROUPING = 0
348OLD_PASSWORD_FIELD_ENABLED = '********************'
349PARLER_DEFAULT_LANGUAGE_CODE = 'uk'
350PARLER_LANGUAGES = {None: ({'code': 'uk', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'en', 'fallbacks': ['uk'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['uk'], 'hide_untranslated': False}), 'default': {'fallbacks': ['uk'], 'hide_untranslated': False, 'code': 'uk'}}
351PASSWORD_HASHERS = '********************'
352PASSWORD_RESET_TIMEOUT_DAYS = '********************'
353POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}
354POSTIE_INSTANT_SEND = False
355POSTIE_TEMPLATE_CHOICES = Choices(('confirm_email__user', 'confirm_email__user', 'Confirm email (user)'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Confirm password reset (user)'), ('otp_email__user', 'otp_email__user', 'OTP email (user)'), ('question_handling__admin', 'question_handling__admin', 'Question handling (admin)'), ('payout_created__admin', 'payout_created__admin', 'Payout created (admin)'), ('new_forecast__user', 'new_forecast__user', 'New forecast (user)'))
356POSTIE_TEMPLATE_CONTEXTS = {'confirm_email__user': {'login': 'Login', 'name': 'Name', 'link': 'Confirmation link'}, 'password_reset_confirm__user': '********************', 'otp_email__user': {'token': '********************'}, 'question_handling__admin': {'name': 'Name', 'email': 'Email', 'question': 'Question', 'link': 'Link'}, 'payout_created__admin': {'fio': 'FIO', 'amount': 'Amount', 'link': 'Link'}, 'new_forecast__user': {'domain': 'Domain'}}
357PREPEND_WWW = False
358PROJECT_APPS = ['markup', 'shared', 'apps.academy', 'apps.adds', 'apps.bots', 'apps.bookmakers', 'apps.chat', 'apps.common', 'apps.faq', 'apps.forecasts', 'apps.handling', 'apps.messengers', 'apps.organization', 'apps.pages', 'apps.payments', 'apps.security', 'apps.staff', 'apps.stats']
359REST_FRAMEWORK = {'DATE_FORMAT': 'iso-8601', 'TIME_FORMAT': 'iso-8601', 'DATETIME_FORMAT': 'iso-8601', 'DATE_INPUT_FORMATS': ['iso-8601'], 'TIME_INPUT_FORMATS': ['iso-8601'], 'DATETIME_INPUT_FORMATS': ['iso-8601'], 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'], 'DEFAULT_METADATA_CLASS': 'standards.drf.metadata.FieldsetMetadata', 'DEFAULT_PARSER_CLASSES': ('djangorestframework_camel_case.parser.CamelCaseFormParser', 'djangorestframework_camel_case.parser.CamelCaseMultiPartParser', 'djangorestframework_camel_case.parser.CamelCaseJSONParser'), 'DEFAULT_RENDERER_CLASSES': ('standards.drf.renderers.CamelCaseORJSONRenderer', 'djangorestframework_camel_case.render.CamelCaseBrowsableAPIRenderer'), 'EXCEPTION_HANDLER': 'standards.drf.handlers.exception_handler', 'SEARCH_PARAM': 's'}
360ROOT_URLCONF = 'app.urls'
361ROSETTA_SHOW_AT_ADMIN_PANEL = True
362SECRET_KEY = '********************'
363SECURE_BROWSER_XSS_FILTER = False
364SECURE_CONTENT_TYPE_NOSNIFF = True
365SECURE_HSTS_INCLUDE_SUBDOMAINS = False
366SECURE_HSTS_PRELOAD = False
367SECURE_HSTS_SECONDS = 0
368SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
369SECURE_REDIRECT_EXEMPT = []
370SECURE_REFERRER_POLICY = None
371SECURE_SSL_HOST = None
372SECURE_SSL_REDIRECT = False
373SENDPULSE_EMAIL_FROMEMAIL = 'topbet.sendpulse@gmail.com'
374SENDPULSE_EMAIL_HOST = 'smtp-pulse.com'
375SENDPULSE_EMAIL_PASSWORD = '********************'
376SENDPULSE_EMAIL_PORT = 465
377SENDPULSE_EMAIL_USERNAME = 'topbet.sendpulse@gmail.com'
378SENDPULSE_EMAIL_USE_SSL = True
379SENDPULSE_EMAIL_USE_TLS = False
380SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_path': 'ckeditor_uploader.widgets'}
381SEO_MODELS = []
382SEO_USE_URL_FULL_PATH = True
383SEO_USE_URL_SEO = True
384SERVER_EMAIL = 'root@localhost'
385SESSION_CACHE_ALIAS = 'default'
386SESSION_COOKIE_AGE = 1209600
387SESSION_COOKIE_DOMAIN = 'topbet.ua'
388SESSION_COOKIE_HTTPONLY = True
389SESSION_COOKIE_NAME = 'sessionid'
390SESSION_COOKIE_PATH = '/'
391SESSION_COOKIE_SAMESITE = 'Lax'
392SESSION_COOKIE_SECURE = True
393SESSION_ENGINE = 'qsessions.backends.cached_db'
394SESSION_EXPIRE_AT_BROWSER_CLOSE = False
395SESSION_FILE_PATH = None
396SESSION_SAVE_EVERY_REQUEST = False
397SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
398SETTINGS_MODULE = 'app.settings'
399SHORT_DATETIME_FORMAT = 'm/d/Y P'
400SHORT_DATE_FORMAT = 'm/d/Y'
401SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
402SILENCED_SYSTEM_CHECKS = []
403SITE_ID = 1
404SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.SocialAccountAdapter'
405SOCIALACCOUNT_EMAIL_VERIFICATION = False
406SOCIALACCOUNT_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', 'picture'], 'EXCHANGE_TOKEN': '********************', 'VERIFIED_EMAIL': True, 'VERSION': 'v8.0'}}
407STATICFILES_DIRS = []
408STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
409STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
410STATIC_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/static')
411STATIC_URL = '/static/'
412SUBDOMAIN_URLCONFS = {}
413TELEGRAM_TOKEN = '********************'
414TEMPLATES = [{'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'], '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']}}]
415TEST_NON_SERIALIZED_APPS = []
416TEST_RUNNER = 'django.test.runner.DiscoverRunner'
417THOUSAND_SEPARATOR = ','
418TIME_FORMAT = 'P'
419TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
420TIME_ZONE = 'Europe/Kiev'
421USE_I18N = True
422USE_L10N = True
423USE_THOUSAND_SEPARATOR = False
424USE_TZ = True
425USE_X_FORWARDED_HOST = False
426USE_X_FORWARDED_PORT = False
427WSGI_APPLICATION = 'app.wsgi.application'
428X_FRAME_OPTIONS = 'SAMEORIGIN'
429YEAR_MONTH_FORMAT = 'F Y'
430
431
432You're seeing this error because you have DEBUG = True in your
433Django settings file. Change that to False, and Django will
434display a standard page generated by the handler for this status code.
435