· 4 years ago · Oct 26, 2020, 12:32 PM
1ValueError at /api/v1/tipster/list/country=2;type=analitic;activity=12;sort=join_up;kind=hokkej;kindPerc=10;bookmaker=futbol;bookmakerPerc=20;picksCount=200/
2Cannot query "Футбол": Must be "Bookmaker" instance.
3
4Request Method: GET
5Request URL: https://topbet.ua/api/v1/tipster/list/country%3D2%3Btype%3Danalitic%3Bactivity%3D12%3Bsort%3Djoin_up%3Bkind%3Dhokkej%3BkindPerc%3D10%3Bbookmaker%3Dfutbol%3BbookmakerPerc%3D20%3BpicksCount%3D200/
6Django Version: 3.0.10
7Python Executable: /home/topbet/topbet/topbet/server/.venv/bin/python3.7
8Python Version: 3.7.3
9Python 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']
10Server time: Пн, 26 Жов 2020 14:24:59 +0200
11Installed Applications:
12['markup',
13 'shared',
14 'apps.academy',
15 'apps.adds',
16 'apps.bots',
17 'apps.bookmakers',
18 'apps.chat',
19 'apps.common',
20 'apps.faq',
21 'apps.forecasts',
22 'apps.handling',
23 'apps.messengers',
24 'apps.organization',
25 'apps.pages',
26 'apps.payments',
27 'apps.security',
28 'apps.staff',
29 'apps.stats',
30 'admin_auto_filters',
31 'adminsortable2',
32 'ckeditor',
33 'ckeditor_uploader',
34 'des',
35 'django_filters',
36 'django_jinja',
37 'jet',
38 'modeltranslation',
39 'parler',
40 'postie',
41 'rest_framework',
42 'rest_framework.authtoken',
43 'rest_framework_recaptcha',
44 'robots',
45 'rosetta',
46 'script_pattern',
47 'seo',
48 'solo',
49 'standards',
50 'subdomains',
51 'vuejs_translate',
52 'django.contrib.admin',
53 'django.contrib.auth',
54 'django.contrib.contenttypes',
55 'qsessions',
56 'django.contrib.messages',
57 'django.contrib.staticfiles',
58 'django.contrib.sites',
59 'allauth',
60 'allauth.account',
61 'allauth.socialaccount',
62 'allauth.socialaccount.providers.google',
63 'allauth.socialaccount.providers.facebook',
64 'allauth.socialaccount.providers.twitter',
65 'rest_auth',
66 'rest_auth.registration',
67 'django_otp',
68 'django_otp.plugins.otp_totp',
69 'django_otp.plugins.otp_email']
70Installed Middleware:
71['django.middleware.security.SecurityMiddleware',
72 'qsessions.middleware.SessionMiddleware',
73 'subdomains.middleware.SubdomainMiddleware',
74 'django.middleware.common.CommonMiddleware',
75 'django.middleware.csrf.CsrfViewMiddleware',
76 'django.middleware.locale.LocaleMiddleware',
77 'django.contrib.auth.middleware.AuthenticationMiddleware',
78 'django_otp.middleware.OTPMiddleware',
79 'django.contrib.messages.middleware.MessageMiddleware',
80 'django.middleware.clickjacking.XFrameOptionsMiddleware',
81 'seo.middleware.url_seo_middleware',
82 'apps.staff.middlewares.SubdomainUserMiddleware']
83
84
85Traceback (most recent call last):
86 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
87 response = get_response(request)
88 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
89 response = self.process_exception_by_middleware(e, request)
90 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
91 response = wrapped_callback(request, *callback_args, **callback_kwargs)
92 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
93 return view_func(*args, **kwargs)
94 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
95 return self.dispatch(request, *args, **kwargs)
96 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 505, in dispatch
97 response = self.handle_exception(exc)
98 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 465, in handle_exception
99 self.raise_uncaught_exception(exc)
100 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
101 raise exc
102 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/views.py", line 502, in dispatch
103 response = handler(request, *args, **kwargs)
104 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/generics.py", line 199, in get
105 return self.list(request, *args, **kwargs)
106 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py", line 38, in list
107 queryset = self.filter_queryset(self.get_queryset())
108 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/standards/frendly_url/views.py", line 42, in get_queryset
109 return self.filterset.qs
110 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filterset.py", line 243, in qs
111 qs = self.filter_queryset(qs)
112 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filterset.py", line 230, in filter_queryset
113 queryset = self.filters[name].filter(queryset, value)
114 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filters.py", line 761, in __call__
115 return self.method(qs, self.f.field_name, value)
116 File "/home/topbet/topbet/topbet/server/apps/staff/filters.py", line 192, in bookmaker_filter
117 .filter(bookmaker=self.bookmaker)
118 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/query.py", line 904, in filter
119 return self._filter_or_exclude(False, *args, **kwargs)
120 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/query.py", line 923, in _filter_or_exclude
121 clone.query.add_q(Q(*args, **kwargs))
122 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1354, in add_q
123 clause, _ = self._add_q(q_object, self.used_aliases)
124 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1385, in _add_q
125 check_filterable=check_filterable,
126 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1288, in build_filter
127 self.check_related_objects(join_info.final_field, value, join_info.opts)
128 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1123, in check_related_objects
129 self.check_query_object_type(value, opts, field)
130 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1106, in check_query_object_type
131 (value, opts.object_name))
132
133Exception Type: ValueError at /api/v1/tipster/list/country=2;type=analitic;activity=12;sort=join_up;kind=hokkej;kindPerc=10;bookmaker=futbol;bookmakerPerc=20;picksCount=200/
134Exception Value: Cannot query "Футбол": Must be "Bookmaker" instance.
135Request information:
136USER: QatestAlina ( )
137
138GET: No GET data
139
140POST: No POST data
141
142FILES: No FILES data
143
144COOKIES:
145top_bet_cookies_accept = 'true'
146csrftoken = 'eFRedkbmA9Fu43Z9ylIThRSrdKYhMRoLbQJAioMEEnkZrHzGDnBZYa2Nz9vOLMFb'
147sessionid = '2wskymtx6ahp5640j9f6wf35zjw20pks'
148top_bet_theme = 'dark'
149
150META:
151CSRF_COOKIE = 'eFRedkbmA9Fu43Z9ylIThRSrdKYhMRoLbQJAioMEEnkZrHzGDnBZYa2Nz9vOLMFb'
152HTTP_ACCEPT = 'application/json, text/plain, */*'
153HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
154HTTP_ACCEPT_LANGUAGE = 'undefined'
155HTTP_CONNECTION = 'close'
156HTTP_COOKIE = 'top_bet_cookies_accept=true; csrftoken=eFRedkbmA9Fu43Z9ylIThRSrdKYhMRoLbQJAioMEEnkZrHzGDnBZYa2Nz9vOLMFb; sessionid=2wskymtx6ahp5640j9f6wf35zjw20pks; top_bet_theme=dark'
157HTTP_HOST = 'topbet.ua'
158HTTP_REFERER = 'https://topbet.ua/tipsters/'
159HTTP_SEC_CH_UA = '"Chromium";v="86", "\\"Not\\\\A;Brand";v="99", "Google Chrome";v="86"'
160HTTP_SEC_CH_UA_MOBILE = '?0'
161HTTP_SEC_FETCH_DEST = 'empty'
162HTTP_SEC_FETCH_MODE = 'cors'
163HTTP_SEC_FETCH_SITE = 'same-origin'
164HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'
165HTTP_X_CSRFTOKEN = 'eFRedkbmA9Fu43Z9ylIThRSrdKYhMRoLbQJAioMEEnkZrHzGDnBZYa2Nz9vOLMFb'
166HTTP_X_FORWARDED_FOR = '185.248.130.166'
167HTTP_X_FORWARDED_PROTO = 'https'
168HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
169PATH_INFO = '/api/v1/tipster/list/country=2;type=analitic;activity=12;sort=join_up;kind=hokkej;kindPerc=10;bookmaker=futbol;bookmakerPerc=20;picksCount=200/'
170QUERY_STRING = ''
171RAW_URI = '/api/v1/tipster/list/country=2;type=analitic;activity=12;sort=join_up;kind=hokkej;kindPerc=10;bookmaker=futbol;bookmakerPerc=20;picksCount=200/'
172REMOTE_ADDR = ''
173REQUEST_METHOD = 'GET'
174SCRIPT_NAME = ''
175SERVER_NAME = 'topbet.ua'
176SERVER_PORT = '443'
177SERVER_PROTOCOL = 'HTTP/1.0'
178SERVER_SOFTWARE = 'gunicorn/20.0.4'
179gunicorn.socket = <gevent._socket3.socket at 0x7fab2ae129a8 object, fd=18, family=1, type=1, proto=0>
180wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fab2aa2fdd8>
181wsgi.file_wrapper = ''
182wsgi.input = <gunicorn.http.body.Body object at 0x7fab2b3a7ac8>
183wsgi.input_terminated = True
184wsgi.multiprocess = True
185wsgi.multithread = True
186wsgi.run_once = False
187wsgi.url_scheme = 'https'
188wsgi.version = '(1, 0)'
189
190Settings:
191Using settings module app.settings
192ABSOLUTE_URL_OVERRIDES = {}
193ACCOUNT_ADAPTER = 'apps.staff.adapters.AccountAdapter'
194ACCOUNT_AUTHENTICATION_METHOD = 'username'
195ACCOUNT_CONFIRM_EMAIL_ON_GET = True
196ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
197ACCOUNT_EMAIL_REQUIRED = True
198ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
199ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
200ACCOUNT_LOGIN_ON_PASSWORD_RESET = '********************'
201ACCOUNT_LOGOUT_ON_GET = True
202ACCOUNT_UNIQUE_EMAIL = True
203ACCOUNT_USERNAME_REQUIRED = True
204ADMINS = []
205ALLOWED_HOSTS = ['157.230.103.229', '.topbet.ua']
206API_RE_PREFIX = '********************'
207APPEND_SLASH = True
208AUTHENTICATION_BACKENDS = "('apps.staff.auth_backends.AuthenticationBackend',)"
209AUTH_PASSWORD_VALIDATORS = '********************'
210AUTH_USER_MODEL = 'staff.CustomUser'
211BASE_DIR = PosixPath('/home/topbet/topbet/topbet/server/app/settings/default.py')
212BASE_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app')
213BASE_URL = 'https://topbet.ua'
214CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
215CACHE_MIDDLEWARE_ALIAS = 'default'
216CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
217CACHE_MIDDLEWARE_SECONDS = 600
218CELERY_ACCEPT_CONTENT = ['json']
219CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
220CELERY_RESULT_SERIALIZER = 'json'
221CELERY_TASK_SERIALIZER = 'json'
222CKEDITOR_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'}}
223CKEDITOR_UPLOAD_PATH = ''
224CRUMBS_HOME_URL_NAME = 'pages:index'
225CSRF_COOKIE_AGE = 31449600
226CSRF_COOKIE_DOMAIN = '.topbet.ua'
227CSRF_COOKIE_HTTPONLY = False
228CSRF_COOKIE_NAME = 'csrftoken'
229CSRF_COOKIE_PATH = '/'
230CSRF_COOKIE_SAMESITE = 'Lax'
231CSRF_COOKIE_SECURE = True
232CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
233CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
234CSRF_TRUSTED_ORIGINS = []
235CSRF_USE_SESSIONS = False
236DATABASES = {'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}}}
237DATABASE_ROUTERS = []
238DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
239DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
240DATETIME_FORMAT = '%d.%m.%Y, %H:%M:%S'
241DATETIME_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']
242DATE_FORMAT = '%d.%m.%Y'
243DATE_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']
244DEBUG = 'True'
245DEBUG_PROPAGATE_EXCEPTIONS = False
246DEBUG_TOOLBAR_CONFIG = {'SHOW_COLLAPSED': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7fab37b739d8>}
247DECIMAL_SEPARATOR = '.'
248DEFAULT_CHARSET = 'utf-8'
249DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
250DEFAULT_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']
251DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
252DEFAULT_FROM_EMAIL = 'admin@admin.admin'
253DEFAULT_INDEX_TABLESPACE = ''
254DEFAULT_TABLESPACE = ''
255DISALLOWED_USER_AGENTS = []
256DRF_RECAPTCHA_PUBLIC_KEY = '********************'
257DRF_RECAPTCHA_SECRET_KEY = '********************'
258DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
259EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
260EMAIL_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'}
261EMAIL_FILE_PATH = ''
262EMAIL_HOST = '127.0.0.1'
263EMAIL_HOST_PASSWORD = '********************'
264EMAIL_HOST_USER = None
265EMAIL_PORT = None
266EMAIL_SSL_CERTFILE = None
267EMAIL_SSL_KEYFILE = '********************'
268EMAIL_SUBJECT_PREFIX = '[Django] '
269EMAIL_TIMEOUT = None
270EMAIL_USE_LOCALTIME = False
271EMAIL_USE_SSL = False
272EMAIL_USE_TLS = False
273FILE_CHARSET = 'utf-8'
274FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
275FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
276FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
277FILE_UPLOAD_PERMISSIONS = 420
278FILE_UPLOAD_TEMP_DIR = None
279FIRST_DAY_OF_WEEK = 0
280FIXTURE_DIRS = []
281FORCE_SCRIPT_NAME = None
282FORMAT_MODULE_PATH = None
283FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
284IGNORABLE_404_URLS = []
285INSTALLED_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']
286INTERNAL_IPS = []
287JET_SIDE_MENU_COMPACT = True
288LANGUAGES = "(('uk', 'Ukrainian'), ('ru', 'Russian'), ('en', 'English'))"
289LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
290LANGUAGE_CODE = 'uk'
291LANGUAGE_COOKIE_AGE = None
292LANGUAGE_COOKIE_DOMAIN = None
293LANGUAGE_COOKIE_HTTPONLY = False
294LANGUAGE_COOKIE_NAME = 'django_language'
295LANGUAGE_COOKIE_PATH = '/'
296LANGUAGE_COOKIE_SAMESITE = None
297LANGUAGE_COOKIE_SECURE = False
298LOCALE_PATHS = "(PosixPath('/home/topbet/topbet/topbet/server/app/locale'),)"
299LOGGING = {'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']}}
300LOGGING_CONFIG = 'logging.config.dictConfig'
301LOGIN_REDIRECT_URL = '/auth/login/'
302LOGIN_URL = '/#auth'
303LOGOUT_REDIRECT_URL = None
304MANAGERS = []
305MEDIA_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/uploads')
306MEDIA_URL = '/uploads/'
307MESSAGE_CONFIGS = {'telegram': {'events': {'new_forecast__user': {'domain': 'Domain'}}}}
308MESSAGE_EVENTS = Choices(('new_forecast__user', 'new_forecast__user', 'New forecast (user)'))
309MESSAGE_HTML_ADMIN_WIDGETS = {'ckeditor': {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}}
310MESSAGE_SECTIONS = Choices(('telegram', 'telegram', 'Telegram'))
311MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
312MIDDLEWARE = ['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', 'apps.staff.middlewares.SubdomainUserMiddleware']
313MIGRATION_MODULES = {}
314MONTH_DAY_FORMAT = 'F j'
315NUMBER_GROUPING = 0
316OLD_PASSWORD_FIELD_ENABLED = '********************'
317PARLER_DEFAULT_LANGUAGE_CODE = 'uk'
318PARLER_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'}}
319PASSWORD_HASHERS = '********************'
320PASSWORD_RESET_TIMEOUT_DAYS = '********************'
321POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}
322POSTIE_INSTANT_SEND = False
323POSTIE_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)'), ('payout_confirmed__user', 'payout_confirmed__user', 'Payout confirmed (user)'), ('payout_rejected__user', 'payout_rejected__user', 'Payout rejected (user)'), ('subscription_payment_fail__user', 'subscription_payment_fail__user', 'Subscription payment failed (user)'), ('subscription_payment_success__user', 'subscription_payment_success__user', 'Subscription payment success (user)'), ('notify_payment_fail__user', 'notify_payment_fail__user', 'Notify payment failed (user)'), ('notify_payment_success__user', 'notify_payment_success__user', 'Notify payment success (user)'), ('new_forecast__user', 'new_forecast__user', 'New forecast (user)'))
324POSTIE_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'}, 'question_handling_answer__user': {'name': 'Name', 'email': 'Email', 'question': 'Question', 'answer': 'Answer'}, 'payout_created__admin': {'fio': 'FIO', 'amount': 'Amount', 'link': 'Link'}, 'payout_confirmed__user': {'fio': 'FIO', 'amount': 'Amount', 'comment': 'Comment'}, 'payout_rejected__user': {'fio': 'FIO', 'amount': 'Amount', 'comment': 'Comment'}, 'subscription_payment_fail__user': {'amount': 'Amount', 'domain': 'Domain', 'name': 'Name'}, 'subscription_payment_success__user': {'amount': 'Amount', 'domain': 'Domain', 'name': 'Name'}, 'notify_payment_fail__user': {'amount': 'Amount', 'name': 'Name'}, 'notify_payment_success__user': {'amount': 'Amount', 'name': 'Name'}, 'new_forecast__user': {'domain': 'Domain'}}
325PREPEND_WWW = False
326PROJECT_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']
327REST_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'}
328ROOT_URLCONF = 'app.urls'
329ROSETTA_SHOW_AT_ADMIN_PANEL = True
330SECRET_KEY = '********************'
331SECURE_BROWSER_XSS_FILTER = False
332SECURE_CONTENT_TYPE_NOSNIFF = True
333SECURE_HSTS_INCLUDE_SUBDOMAINS = False
334SECURE_HSTS_PRELOAD = False
335SECURE_HSTS_SECONDS = 0
336SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
337SECURE_REDIRECT_EXEMPT = []
338SECURE_REFERRER_POLICY = None
339SECURE_SSL_HOST = None
340SECURE_SSL_REDIRECT = False
341SENDPULSE_EMAIL_FROMEMAIL = 'topbet.sendpulse@gmail.com'
342SENDPULSE_EMAIL_HOST = 'smtp-pulse.com'
343SENDPULSE_EMAIL_PASSWORD = '********************'
344SENDPULSE_EMAIL_PORT = 465
345SENDPULSE_EMAIL_USERNAME = 'topbet.sendpulse@gmail.com'
346SENDPULSE_EMAIL_USE_SSL = True
347SENDPULSE_EMAIL_USE_TLS = False
348SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_path': 'ckeditor_uploader.widgets'}
349SEO_MODELS = []
350SEO_USE_URL_FULL_PATH = True
351SEO_USE_URL_SEO = True
352SERVER_EMAIL = 'root@localhost'
353SESSION_CACHE_ALIAS = 'default'
354SESSION_COOKIE_AGE = 1209600
355SESSION_COOKIE_DOMAIN = '.topbet.ua'
356SESSION_COOKIE_HTTPONLY = True
357SESSION_COOKIE_NAME = 'sessionid'
358SESSION_COOKIE_PATH = '/'
359SESSION_COOKIE_SAMESITE = 'Lax'
360SESSION_COOKIE_SECURE = True
361SESSION_ENGINE = 'qsessions.backends.cached_db'
362SESSION_EXPIRE_AT_BROWSER_CLOSE = False
363SESSION_FILE_PATH = None
364SESSION_SAVE_EVERY_REQUEST = False
365SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
366SETTINGS_MODULE = 'app.settings'
367SHORT_DATETIME_FORMAT = 'm/d/Y P'
368SHORT_DATE_FORMAT = 'm/d/Y'
369SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
370SILENCED_SYSTEM_CHECKS = []
371SITE_ID = 1
372SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.SocialAccountAdapter'
373SOCIALACCOUNT_EMAIL_VERIFICATION = False
374SOCIALACCOUNT_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'}}
375STATICFILES_DIRS = []
376STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
377STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
378STATIC_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/static')
379STATIC_URL = '/static/'
380SUBDOMAIN_URLCONFS = {}
381TELEGRAM_TOKEN = '********************'
382TEMPLATES = [{'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']}}]
383TEST_NON_SERIALIZED_APPS = []
384TEST_RUNNER = 'django.test.runner.DiscoverRunner'
385THOUSAND_SEPARATOR = ','
386TIME_FORMAT = 'P'
387TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
388TIME_ZONE = 'Europe/Kiev'
389USE_I18N = True
390USE_L10N = True
391USE_THOUSAND_SEPARATOR = False
392USE_TZ = True
393USE_X_FORWARDED_HOST = False
394USE_X_FORWARDED_PORT = False
395WSGI_APPLICATION = 'app.wsgi.application'
396X_FRAME_OPTIONS = 'SAMEORIGIN'
397YEAR_MONTH_FORMAT = 'F Y'
398
399
400You're seeing this error because you have DEBUG = True in your
401Django settings file. Change that to False, and Django will
402display a standard page generated by the handler for this status code.
403