· 4 years ago · Apr 21, 2021, 01:20 PM
1FieldError at /api/v1/forecast/list/type=realtime;lang=russkij;sport=hokkej/
2Cannot resolve keyword 'game' into field. Choices are: analitics, avg_coeficient, bet_size, bookmaker, bookmaker_id, comments, comments_count, conditions, created_at, id, language, language_id, likes, likes_count, mode, profit, reports, status, type, updated_at, user, user_id
3
4Request Method: GET
5Request URL: https://mytopbet.com/api/v1/forecast/list/type%3Drealtime%3Blang%3Drusskij%3Bsport%3Dhokkej/
6Django Version: 3.0.10
7Python Executable: /home/topbet/topbet/topbet/server/.venv/bin/python3.7
8Python Version: 3.7.5
9Python Path: ['/home/topbet/topbet/topbet/server', '/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: Ср, 21 Кві 2021 16:14:16 +0300
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 509, 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 469, 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 480, 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 506, 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/rest_framework/generics.py", line 150, in filter_queryset
109 queryset = backend().filter_queryset(self.request, queryset, self)
110 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/rest_framework/backends.py", line 96, in filter_queryset
111 return filterset.qs
112 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filterset.py", line 243, in qs
113 qs = self.filter_queryset(qs)
114 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filterset.py", line 230, in filter_queryset
115 queryset = self.filters[name].filter(queryset, value)
116 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django_filters/filters.py", line 779, in __call__
117 return self.method(qs, self.f.field_name, value)
118 File "/home/topbet/topbet/topbet/server/apps/forecasts/filters.py", line 74, in type_filter
119 return qs.filter(*f_args, **f_kwargs)
120 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/query.py", line 904, in filter
121 return self._filter_or_exclude(False, *args, **kwargs)
122 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/query.py", line 923, in _filter_or_exclude
123 clone.query.add_q(Q(*args, **kwargs))
124 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1354, in add_q
125 clause, _ = self._add_q(q_object, self.used_aliases)
126 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1385, in _add_q
127 check_filterable=check_filterable,
128 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1254, in build_filter
129 lookups, parts, reffed_expression = self.solve_lookup_type(arg)
130 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1088, in solve_lookup_type
131 _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
132 File "/home/topbet/topbet/topbet/server/.venv/lib/python3.7/site-packages/django/db/models/sql/query.py", line 1487, in names_to_path
133 "Choices are: %s" % (name, ", ".join(available)))
134
135Exception Type: FieldError at /api/v1/forecast/list/type=realtime;lang=russkij;sport=hokkej/
136Exception Value: Cannot resolve keyword 'game' into field. Choices are: analitics, avg_coeficient, bet_size, bookmaker, bookmaker_id, comments, comments_count, conditions, created_at, id, language, language_id, likes, likes_count, mode, profit, reports, status, type, updated_at, user, user_id
137Request information:
138USER: niknametestqwe ( )
139
140GET: No GET data
141
142POST: No POST data
143
144FILES: No FILES data
145
146COOKIES:
147top_bet_cookies_accept = 'true'
148top_bet_theme = 'light'
149csrftoken = '6v6HpFyFyg4eSk1o0KUJS4OtEPj1AbhiPtqIT4OjXvvHHUFIJzyTFxXzwIt33uzs'
150sessionid = '8ldu4waawu20utw0u1b1kp52wpo424k8'
151
152META:
153CSRF_COOKIE = '6v6HpFyFyg4eSk1o0KUJS4OtEPj1AbhiPtqIT4OjXvvHHUFIJzyTFxXzwIt33uzs'
154HTTP_ACCEPT = 'application/json, text/plain, */*'
155HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
156HTTP_ACCEPT_LANGUAGE = 'uk'
157HTTP_CONNECTION = 'close'
158HTTP_COOKIE = 'top_bet_cookies_accept=true; top_bet_theme=light; csrftoken=6v6HpFyFyg4eSk1o0KUJS4OtEPj1AbhiPtqIT4OjXvvHHUFIJzyTFxXzwIt33uzs; sessionid=8ldu4waawu20utw0u1b1kp52wpo424k8'
159HTTP_HOST = 'mytopbet.com'
160HTTP_REFERER = 'https://mytopbet.com/bets/'
161HTTP_SEC_CH_UA = '"Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"'
162HTTP_SEC_CH_UA_MOBILE = '?0'
163HTTP_SEC_FETCH_DEST = 'empty'
164HTTP_SEC_FETCH_MODE = 'cors'
165HTTP_SEC_FETCH_SITE = 'same-origin'
166HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36'
167HTTP_X_CSRFTOKEN = '6v6HpFyFyg4eSk1o0KUJS4OtEPj1AbhiPtqIT4OjXvvHHUFIJzyTFxXzwIt33uzs'
168HTTP_X_FORWARDED_FOR = '194.31.168.91'
169HTTP_X_FORWARDED_PROTO = 'https'
170HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
171PATH_INFO = '/api/v1/forecast/list/type=realtime;lang=russkij;sport=hokkej/'
172QUERY_STRING = ''
173RAW_URI = '/api/v1/forecast/list/type=realtime;lang=russkij;sport=hokkej/'
174REMOTE_ADDR = ''
175REQUEST_METHOD = 'GET'
176SCRIPT_NAME = ''
177SERVER_NAME = 'mytopbet.com'
178SERVER_PORT = '443'
179SERVER_PROTOCOL = 'HTTP/1.0'
180SERVER_SOFTWARE = 'gunicorn/20.0.4'
181gunicorn.socket = <gevent._socket3.socket at 0x7f53abbcf4b0 object, fd=21, family=1, type=1, proto=0>
182wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f53abbd2f50>
183wsgi.file_wrapper = ''
184wsgi.input = <gunicorn.http.body.Body object at 0x7f53abbd2450>
185wsgi.input_terminated = True
186wsgi.multiprocess = False
187wsgi.multithread = True
188wsgi.run_once = False
189wsgi.url_scheme = 'https'
190wsgi.version = '(1, 0)'
191
192Settings:
193Using settings module app.settings
194ABSOLUTE_URL_OVERRIDES = {}
195ACCOUNT_ADAPTER = 'apps.staff.adapters.AccountAdapter'
196ACCOUNT_AUTHENTICATION_METHOD = 'username'
197ACCOUNT_CONFIRM_EMAIL_ON_GET = True
198ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
199ACCOUNT_EMAIL_REQUIRED = True
200ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
201ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
202ACCOUNT_LOGIN_ON_PASSWORD_RESET = '********************'
203ACCOUNT_LOGOUT_ON_GET = True
204ACCOUNT_UNIQUE_EMAIL = True
205ACCOUNT_USERNAME_REQUIRED = True
206ADMINS = []
207ALLOWED_HOSTS = ['157.230.103.229', '.topbet.ua', '.mytopbet.com']
208API_RE_PREFIX = '********************'
209APPEND_SLASH = True
210AUTHENTICATION_BACKENDS = "('apps.staff.auth_backends.AuthenticationBackend',)"
211AUTH_PASSWORD_VALIDATORS = '********************'
212AUTH_USER_MODEL = 'staff.CustomUser'
213BASE_DIR = PosixPath('/home/topbet/topbet/topbet/server/app/settings/default.py')
214BASE_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app')
215BASE_URL = 'https://mytopbet.com'
216CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
217CACHE_MIDDLEWARE_ALIAS = 'default'
218CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
219CACHE_MIDDLEWARE_SECONDS = 600
220CELERY_ACCEPT_CONTENT = ['json']
221CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
222CELERY_RESULT_SERIALIZER = 'json'
223CELERY_TASK_SERIALIZER = 'json'
224CKEDITOR_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', 'allowedContent': True, 'forcePasteAsPlainText': True}}
225CKEDITOR_UPLOAD_PATH = ''
226CRUMBS_HOME_URL_NAME = 'pages:index'
227CSRF_COOKIE_AGE = 31449600
228CSRF_COOKIE_DOMAIN = '.mytopbet.com'
229CSRF_COOKIE_HTTPONLY = False
230CSRF_COOKIE_NAME = 'csrftoken'
231CSRF_COOKIE_PATH = '/'
232CSRF_COOKIE_SAMESITE = 'Lax'
233CSRF_COOKIE_SECURE = True
234CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
235CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
236CSRF_TRUSTED_ORIGINS = []
237CSRF_USE_SESSIONS = False
238DATABASES = {'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}}}
239DATABASE_ROUTERS = []
240DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
241DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
242DATETIME_FORMAT = '%d.%m.%Y, %H:%M:%S'
243DATETIME_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']
244DATE_FORMAT = '%d.%m.%Y'
245DATE_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']
246DEBUG = 'True'
247DEBUG_PROPAGATE_EXCEPTIONS = False
248DEBUG_TOOLBAR_CONFIG = {'SHOW_COLLAPSED': True, 'SHOW_TOOLBAR_CALLBACK': <function <lambda> at 0x7f53b8b3e680>}
249DECIMAL_SEPARATOR = '.'
250DEFAULT_CHARSET = 'utf-8'
251DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
252DEFAULT_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']
253DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
254DEFAULT_FROM_EMAIL = 'admin@admin.admin'
255DEFAULT_INDEX_TABLESPACE = ''
256DEFAULT_TABLESPACE = ''
257DISALLOWED_USER_AGENTS = []
258DRF_RECAPTCHA_PUBLIC_KEY = '********************'
259DRF_RECAPTCHA_SECRET_KEY = '********************'
260DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
261EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
262EMAIL_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'}
263EMAIL_FILE_PATH = ''
264EMAIL_HOST = '127.0.0.1'
265EMAIL_HOST_PASSWORD = '********************'
266EMAIL_HOST_USER = None
267EMAIL_PORT = None
268EMAIL_SSL_CERTFILE = None
269EMAIL_SSL_KEYFILE = '********************'
270EMAIL_SUBJECT_PREFIX = '[Django] '
271EMAIL_TIMEOUT = None
272EMAIL_USE_LOCALTIME = False
273EMAIL_USE_SSL = False
274EMAIL_USE_TLS = False
275FILE_CHARSET = 'utf-8'
276FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
277FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
278FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
279FILE_UPLOAD_PERMISSIONS = 420
280FILE_UPLOAD_TEMP_DIR = None
281FIRST_DAY_OF_WEEK = 0
282FIXTURE_DIRS = []
283FORCE_SCRIPT_NAME = None
284FORMAT_MODULE_PATH = None
285FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
286IGNORABLE_404_URLS = []
287INSTALLED_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']
288INTERNAL_IPS = []
289JET_SIDE_MENU_COMPACT = True
290LANGUAGES = "(('uk', 'Ukrainian'), ('ru', 'Russian'), ('en', 'English'))"
291LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
292LANGUAGE_CODE = 'uk'
293LANGUAGE_COOKIE_AGE = None
294LANGUAGE_COOKIE_DOMAIN = None
295LANGUAGE_COOKIE_HTTPONLY = False
296LANGUAGE_COOKIE_NAME = 'django_language'
297LANGUAGE_COOKIE_PATH = '/'
298LANGUAGE_COOKIE_SAMESITE = None
299LANGUAGE_COOKIE_SECURE = False
300LOCALE_PATHS = "(PosixPath('/home/topbet/topbet/topbet/server/app/locale'),)"
301LOGGING = {'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']}}
302LOGGING_CONFIG = 'logging.config.dictConfig'
303LOGIN_REDIRECT_URL = '/auth/login/'
304LOGIN_URL = '/#auth'
305LOGOUT_REDIRECT_URL = None
306MANAGERS = []
307MEDIA_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/uploads')
308MEDIA_URL = '/uploads/'
309MESSAGE_CONFIGS = {'telegram': {'events': {'new_forecast__user': {'domain': 'Домен', 'link': 'Посилання'}, 'new_subscriber__user': {'domain': 'Домен', 'link': 'Посилання'}}}}
310MESSAGE_EVENTS = Choices(('new_forecast__user', 'new_forecast__user', 'Новий прогноз (користувач)'), ('new_subscriber__user', 'new_subscriber__user', 'Новий абонент (користувач)'))
311MESSAGE_HTML_ADMIN_WIDGETS = {'ckeditor': {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}}
312MESSAGE_SECTIONS = Choices(('telegram', 'telegram', 'Telegram'))
313MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
314MIDDLEWARE = ['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']
315MIGRATION_MODULES = {}
316MONTH_DAY_FORMAT = 'F j'
317NUMBER_GROUPING = 0
318OLD_PASSWORD_FIELD_ENABLED = '********************'
319PARLER_DEFAULT_LANGUAGE_CODE = 'uk'
320PARLER_LANGUAGES = {1: ({'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'}}
321PASSWORD_HASHERS = '********************'
322PASSWORD_RESET_TIMEOUT_DAYS = '********************'
323POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}
324POSTIE_INSTANT_SEND = False
325POSTIE_TEMPLATE_CHOICES = Choices(('confirm_email__user', 'confirm_email__user', 'Підтвердити електронну адресу (користувач)'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Підтвердити скидання пароля (користувач)'), ('otp_email__user', 'otp_email__user', 'Електронна адреса OTP (користувач)'), ('question_handling__admin', 'question_handling__admin', 'Обробка питань (адміністратор)'), ('question_handling_answer__user', 'question_handling_answer__user', 'Відповідь на питання (користувач)'), ('payout_created__admin', 'payout_created__admin', 'Виплата створена (адміністратор)'), ('payout_confirmed__user', 'payout_confirmed__user', 'Виплата підтверджена (користувач)'), ('payout_rejected__user', 'payout_rejected__user', 'Виплата відхилена (користувач)'), ('subscription_payment_fail__user', 'subscription_payment_fail__user', 'Помилка оплати передплати (користувач)'), ('subscription_payment_success__user', 'subscription_payment_success__user', 'Успіх оплати підписки (користувач)'), ('notify_payment_fail__user', 'notify_payment_fail__user', 'Не вдалося повідомити про платіж (користувач)'), ('notify_payment_success__user', 'notify_payment_success__user', 'Повідомлення про успішне здійснення платежу (користувач)'), ('new_forecast__user', 'new_forecast__user', 'Новий прогноз (користувач)'), ('new_subscriber__user', 'new_subscriber__user', 'Новий абонент (користувач)'))
326POSTIE_TEMPLATE_CONTEXTS = {'confirm_email__user': {'login': 'Увійти', 'name': "Ім'я", 'link': 'Посилання на підтвердження'}, 'password_reset_confirm__user': '********************', 'otp_email__user': {'token': '********************'}, 'question_handling__admin': {'name': "Ім'я", 'email': 'Email ', 'question': 'Питання', 'link': 'Посилання'}, 'question_handling_answer__user': {'name': "Ім'я", 'email': 'Email ', 'question': 'Питання', 'answer': 'Відповідь'}, 'payout_created__admin': {'fio': 'ПІБ', 'amount': 'Сума', 'link': 'Посилання'}, 'payout_confirmed__user': {'fio': 'ПІБ', 'amount': 'Сума', 'comment': 'Прокоментуйте'}, 'payout_rejected__user': {'fio': 'ПІБ', 'amount': 'Сума', 'comment': 'Прокоментуйте'}, 'subscription_payment_fail__user': {'amount': 'Сума', 'domain': 'Домен', 'name': "Ім'я"}, 'subscription_payment_success__user': {'amount': 'Сума', 'domain': 'Домен', 'name': "Ім'я"}, 'notify_payment_fail__user': {'amount': 'Сума', 'name': "Ім'я"}, 'notify_payment_success__user': {'amount': 'Сума', 'name': "Ім'я"}, 'new_forecast__user': {'domain': 'Домен', 'link': 'Посилання'}, 'new_subscriber__user': {'domain': 'Домен', 'link': 'Посилання'}}
327PREPEND_WWW = False
328PROJECT_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']
329REST_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'}
330ROOT_URLCONF = 'app.urls'
331ROSETTA_SHOW_AT_ADMIN_PANEL = True
332SECRET_KEY = '********************'
333SECURE_BROWSER_XSS_FILTER = False
334SECURE_CONTENT_TYPE_NOSNIFF = True
335SECURE_HSTS_INCLUDE_SUBDOMAINS = False
336SECURE_HSTS_PRELOAD = False
337SECURE_HSTS_SECONDS = 0
338SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
339SECURE_REDIRECT_EXEMPT = []
340SECURE_REFERRER_POLICY = None
341SECURE_SSL_HOST = None
342SECURE_SSL_REDIRECT = False
343SENDPULSE_EMAIL_FROMEMAIL = 'info@topbet.ua'
344SENDPULSE_EMAIL_HOST = 'smtp-pulse.com'
345SENDPULSE_EMAIL_PASSWORD = '********************'
346SENDPULSE_EMAIL_PORT = 465
347SENDPULSE_EMAIL_USERNAME = 'topbet.sendpulse@gmail.com'
348SENDPULSE_EMAIL_USE_SSL = True
349SENDPULSE_EMAIL_USE_TLS = False
350SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_path': 'ckeditor_uploader.widgets'}
351SEO_MODELS = ['pages.indexpage', 'pages.templatepage']
352SEO_USE_URL_FULL_PATH = True
353SEO_USE_URL_SEO = True
354SERVER_EMAIL = 'root@localhost'
355SESSION_CACHE_ALIAS = 'default'
356SESSION_COOKIE_AGE = 1209600
357SESSION_COOKIE_DOMAIN = '.mytopbet.com'
358SESSION_COOKIE_HTTPONLY = True
359SESSION_COOKIE_NAME = 'sessionid'
360SESSION_COOKIE_PATH = '/'
361SESSION_COOKIE_SAMESITE = 'Lax'
362SESSION_COOKIE_SECURE = True
363SESSION_ENGINE = 'qsessions.backends.cached_db'
364SESSION_EXPIRE_AT_BROWSER_CLOSE = False
365SESSION_FILE_PATH = None
366SESSION_SAVE_EVERY_REQUEST = False
367SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
368SETTINGS_MODULE = 'app.settings'
369SHORT_DATETIME_FORMAT = 'm/d/Y P'
370SHORT_DATE_FORMAT = 'm/d/Y'
371SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
372SILENCED_SYSTEM_CHECKS = []
373SITE_ID = 1
374SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.SocialAccountAdapter'
375SOCIALACCOUNT_AUTO_SIGNUP = True
376SOCIALACCOUNT_EMAIL_REQUIRED = False
377SOCIALACCOUNT_EMAIL_VERIFICATION = False
378SOCIALACCOUNT_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'}, 'twitter': {}}
379SOCIALACCOUNT_QUERY_EMAIL = False
380STATICFILES_DIRS = []
381STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
382STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
383STATIC_ROOT = PosixPath('/home/topbet/topbet/topbet/server/app/static')
384STATIC_URL = '/static/'
385SUBDOMAIN_URLCONFS = {}
386TEMPLATES = [{'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']}}]
387TEST_NON_SERIALIZED_APPS = []
388TEST_RUNNER = 'django.test.runner.DiscoverRunner'
389THOUSAND_SEPARATOR = ','
390TIME_FORMAT = 'P'
391TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
392TIME_ZONE = 'Europe/Kiev'
393USE_I18N = True
394USE_L10N = True
395USE_THOUSAND_SEPARATOR = False
396USE_TZ = True
397USE_X_FORWARDED_HOST = False
398USE_X_FORWARDED_PORT = False
399WSGI_APPLICATION = 'app.wsgi.application'
400X_FRAME_OPTIONS = 'SAMEORIGIN'
401YEAR_MONTH_FORMAT = 'F Y'
402
403
404You're seeing this error because you have DEBUG = True in your
405Django settings file. Change that to False, and Django will
406display a standard page generated by the handler for this status code.
407