· 4 years ago · Apr 27, 2021, 02:48 PM
1ValidationError at /api/v1/schedule/month/list/
2['“02” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] format.']
3
4Request Method: GET
5Request URL: https://pethealth.webcase-dev.com/api/v1/schedule/month/list/?start_visit=02&end_visit=08&range_days=1-15&month=5&year=2021
6Django Version: 3.0
7Python Executable: /home/pet_health/pet_health/pet_health/server/.venv/bin/python
8Python Version: 3.8.5
9Python Path: ['/home/pet_health/pet_health/pet_health/server', '/home/pet_health/pet_health/pet_health/server/.venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages']
10Server time: Вт, 27 Апр 2021 17:41:45 +0300
11Installed Applications:
12['markup',
13 'shared',
14 'apps.frontend',
15 'apps.pages',
16 'apps.organization',
17 'apps.staff',
18 'apps.common',
19 'apps.pets',
20 'apps.pet_tests',
21 'apps.pet_services',
22 'apps.hospital_cares',
23 'apps.case_histories',
24 'apps.visits',
25 'apps.work_schedule',
26 'apps.chats',
27 'apps.core',
28 'apps.notifications',
29 'apps.recipients',
30 'rosetta',
31 'django_jinja',
32 'robots',
33 'postie',
34 'des',
35 'instant',
36 'django_filters',
37 'parler',
38 'ckeditor',
39 'ckeditor_uploader',
40 'solo',
41 'jet',
42 'rangefilter',
43 'modeltranslation',
44 'script_pattern',
45 'adminsortable2',
46 'mptt',
47 'rest_framework',
48 'rest_framework.authtoken',
49 'rest_auth',
50 'rest_framework_recaptcha',
51 'drf_yasg',
52 'versatileimagefield',
53 'standards',
54 'social_django',
55 'dj_template_admin_urls',
56 'vuejs_translate',
57 'django.contrib.admin',
58 'django.contrib.auth',
59 'django.contrib.contenttypes',
60 'django.contrib.sessions',
61 'django.contrib.messages',
62 'django.contrib.staticfiles',
63 'django.contrib.sites',
64 'webpack_loader']
65Installed Middleware:
66['django.middleware.security.SecurityMiddleware',
67 'django.contrib.sessions.middleware.SessionMiddleware',
68 'django.middleware.locale.LocaleMiddleware',
69 'django.middleware.common.CommonMiddleware',
70 'django.middleware.csrf.CsrfViewMiddleware',
71 'django.contrib.auth.middleware.AuthenticationMiddleware',
72 'django.contrib.messages.middleware.MessageMiddleware',
73 'django.middleware.clickjacking.XFrameOptionsMiddleware',
74 'social_django.middleware.SocialAuthExceptionMiddleware']
75
76
77Traceback (most recent call last):
78 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
79 response = get_response(request)
80 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
81 response = self.process_exception_by_middleware(e, request)
82 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
83 response = wrapped_callback(request, *callback_args, **callback_kwargs)
84 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
85 return view_func(*args, **kwargs)
86 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
87 return self.dispatch(request, *args, **kwargs)
88 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 505, in dispatch
89 response = self.handle_exception(exc)
90 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 465, in handle_exception
91 self.raise_uncaught_exception(exc)
92 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
93 raise exc
94 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch
95 response = handler(request, *args, **kwargs)
96 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/generics.py", line 199, in get
97 return self.list(request, *args, **kwargs)
98 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/rest_framework/mixins.py", line 46, in list
99 return Response(serializer.data)
100 File "/home/pet_health/pet_health/pet_health/server/apps/work_schedule/schedule_by_month/serializers.py", line 129, in data
101 'is_free_slots': self.get_is_free_slots(**params),
102 File "/home/pet_health/pet_health/pet_health/server/apps/work_schedule/schedule_by_month/serializers.py", line 53, in get_is_free_slots
103 qs = qs.filter(
104 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/query.py", line 904, in filter
105 return self._filter_or_exclude(False, *args, **kwargs)
106 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/query.py", line 923, in _filter_or_exclude
107 clone.query.add_q(Q(*args, **kwargs))
108 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/sql/query.py", line 1337, in add_q
109 clause, _ = self._add_q(q_object, self.used_aliases)
110 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/sql/query.py", line 1357, in _add_q
111 child_clause, needed_inner = self._add_q(
112 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/sql/query.py", line 1362, in _add_q
113 child_clause, needed_inner = self.build_filter(
114 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/sql/query.py", line 1298, in build_filter
115 condition = self.build_lookup(lookups, col, value)
116 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/sql/query.py", line 1155, in build_lookup
117 lookup = lookup_class(lhs, rhs)
118 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/lookups.py", line 22, in __init__
119 self.rhs = self.get_prep_lookup()
120 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/lookups.py", line 72, in get_prep_lookup
121 return self.lhs.output_field.get_prep_value(self.rhs)
122 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 2166, in get_prep_value
123 return self.to_python(value)
124 File "/home/pet_health/pet_health/pet_health/server/.venv/lib/python3.8/site-packages/django/db/models/fields/__init__.py", line 2150, in to_python
125 raise exceptions.ValidationError(
126
127Exception Type: ValidationError at /api/v1/schedule/month/list/
128Exception Value: ['“02” value has an invalid format. It must be in HH:MM[:ss[.uuuuuu]] format.']
129Request information:
130USER: Селезнев Артем Николаевич (id# 1, administrator)
131
132GET:
133start_visit = '02'
134end_visit = '08'
135range_days = '1-15'
136month = '5'
137year = '2021'
138
139POST: No POST data
140
141FILES: No FILES data
142
143COOKIES:
144csrftoken = 'Bb8wuWnN1tQqL8Ka7wx3pR4lD32WVItsCJ29PZ3kmsPSnpS0BYCa6ZHfiIBfj5Ko'
145sessionid = 'biifyyunof8d7rbvl74106fq95khpyv2'
146
147META:
148CONTENT_TYPE = 'application/json'
149CSRF_COOKIE = 'Bb8wuWnN1tQqL8Ka7wx3pR4lD32WVItsCJ29PZ3kmsPSnpS0BYCa6ZHfiIBfj5Ko'
150HTTP_ACCEPT = '*/*'
151HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
152HTTP_ACCEPT_LANGUAGE = 'ru'
153HTTP_CONNECTION = 'close'
154HTTP_COOKIE = 'csrftoken=Bb8wuWnN1tQqL8Ka7wx3pR4lD32WVItsCJ29PZ3kmsPSnpS0BYCa6ZHfiIBfj5Ko; sessionid=biifyyunof8d7rbvl74106fq95khpyv2'
155HTTP_HOST = 'pethealth.webcase-dev.com'
156HTTP_REFERER = 'https://pethealth.webcase-dev.com/profile/administrator/schedule/client'
157HTTP_SEC_CH_UA = '" Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"'
158HTTP_SEC_CH_UA_MOBILE = '?0'
159HTTP_SEC_FETCH_DEST = 'empty'
160HTTP_SEC_FETCH_MODE = 'same-origin'
161HTTP_SEC_FETCH_SITE = 'same-origin'
162HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36'
163HTTP_X_CSRFTOKEN = 'Bb8wuWnN1tQqL8Ka7wx3pR4lD32WVItsCJ29PZ3kmsPSnpS0BYCa6ZHfiIBfj5Ko'
164HTTP_X_FORWARDED_FOR = '185.248.128.230'
165HTTP_X_FORWARDED_PROTO = 'https'
166HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
167PATH_INFO = '/api/v1/schedule/month/list/'
168QUERY_STRING = 'start_visit=02&end_visit=08&range_days=1-15&month=5&year=2021'
169RAW_URI = '/api/v1/schedule/month/list/?start_visit=02&end_visit=08&range_days=1-15&month=5&year=2021'
170REMOTE_ADDR = ''
171REQUEST_METHOD = 'GET'
172SCRIPT_NAME = ''
173SERVER_NAME = 'pethealth.webcase-dev.com'
174SERVER_PORT = '443'
175SERVER_PROTOCOL = 'HTTP/1.0'
176SERVER_SOFTWARE = 'gunicorn/20.0.4'
177gunicorn.socket = <gevent._socket3.socket at 0x7fd5060f2ca0 object, fd=8, family=1, type=1, proto=0>
178wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fd5064a4730>
179wsgi.file_wrapper = ''
180wsgi.input = <gunicorn.http.body.Body object at 0x7fd505d46eb0>
181wsgi.input_terminated = True
182wsgi.multiprocess = True
183wsgi.multithread = True
184wsgi.run_once = False
185wsgi.url_scheme = 'https'
186wsgi.version = '(1, 0)'
187
188Settings:
189Using settings module app.settings
190ABSOLUTE_URL_OVERRIDES = {}
191ADMINS = []
192ALLOWED_HOSTS = ['104.248.25.174', 'pethealth.webcase-dev.com']
193API_PREFIX = '********************'
194APPEND_SLASH = True
195AUTHENTICATION_BACKENDS = "('social_core.backends.facebook.FacebookOAuth2', 'social_core.backends.google.GoogleOAuth2', 'social_core.backends.twitter.TwitterOAuth', 'django.contrib.auth.backends.ModelBackend')"
196AUTH_PASSWORD_VALIDATORS = '********************'
197AUTH_USER_MODEL = 'staff.User'
198BASE_DIR = PosixPath('/home/pet_health/pet_health/pet_health/server/app/settings/default.py')
199BASE_ROOT = PosixPath('/home/pet_health/pet_health/pet_health/server/app')
200CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
201CACHE_MIDDLEWARE_ALIAS = 'default'
202CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
203CACHE_MIDDLEWARE_SECONDS = 600
204CELERY_ACCEPT_CONTENT = ['application/json']
205CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
206CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
207CELERY_RESULT_SERIALIZER = 'json'
208CELERY_TASK_ALWAYS_EAGER = False
209CELERY_TASK_SERIALIZER = 'json'
210CELERY_TIMEZONE = 'Europe/Kiev'
211CENTRIFUGO_HOST = 'http://104.248.25.174'
212CENTRIFUGO_LOCAL_HOST = None
213CENTRIFUGO_PORT = 8444
214CENTRIFUGO_PROXY = False
215CENTRIFUGO_SECRET_KEY = '********************'
216CHANNEL_LAYERS = {'default': {'BACKEND': 'channels.layers.InMemoryChannelLayer'}}
217CHAT_SEND_MESSAGE_WITHOUT_HANDLER = True
218CKEDITOR_CONFIGS = {'default': {'language': 'en', 'skin': 'office2013', 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YourCustomToolbarConfig': [{'name': 'document', 'items': ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates']}, {'name': 'clipboard', 'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']}, {'name': 'editing', 'items': ['Find', 'Replace', '-', 'SelectAll']}, {'name': 'forms', 'items': ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField']}, '/', {'name': 'basicstyles', 'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']}, {'name': 'paragraph', 'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language']}, {'name': 'links', 'items': ['Link', 'Unlink', 'Anchor']}, {'name': 'insert', 'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']}, '/', {'name': 'styles', 'items': ['Styles', 'Format', 'Font', 'FontSize']}, {'name': 'colors', 'items': ['TextColor', 'BGColor']}, {'name': 'tools', 'items': ['Maximize', 'ShowBlocks']}, {'name': 'about', 'items': ['About', 'FilerImage', 'Youtube', 'Image']}, '/', {'name': 'yourcustomtools', 'items': ['Preview', 'Maximize']}], 'toolbar': 'YourCustomToolbarConfig', 'tabSpaces': 4, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,widget,lineutils,clipboard,dialog,dialogui,elementspath,youtube,image2,wordcount', 'wordcount': {'showCharCount': True}, 'removePlugins': 'image', 'allowedContent': True}}
219CKEDITOR_UPLOAD_PATH = ''
220CONSTANCE_ADDITIONAL_FIELDS = {'email_fields': ['django.forms.EmailField', {}]}
221CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
222CONSTANCE_CONFIG = {'TINY_PNG_KEY': '********************'}
223CONSTANCE_CONFIG_FIELDSETS = {'TinyPNG': ('TINY_PNG_KEY',)}
224CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
225CORS_ORIGIN_WHITELIST = "('http://104.248.25.174:8444',)"
226CSRF_COOKIE_AGE = 31449600
227CSRF_COOKIE_DOMAIN = None
228CSRF_COOKIE_HTTPONLY = False
229CSRF_COOKIE_NAME = 'csrftoken'
230CSRF_COOKIE_PATH = '/'
231CSRF_COOKIE_SAMESITE = 'Lax'
232CSRF_COOKIE_SECURE = True
233CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
234CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
235CSRF_TRUSTED_ORIGINS = []
236CSRF_USE_SESSIONS = False
237DATABASES = {'default': {'NAME': 'pet_health_db', 'USER': 'pet_health_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}}}
238DATABASE_ROUTERS = []
239DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
240DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
241DATETIME_FORMAT = '%d.%m.%Y %H:%M:%S'
242DATETIME_INPUT_FORMATS = ['%d.%m.%Y %H:%M']
243DATE_FORMAT = '%d.%m.%Y'
244DATE_INPUT_FORMATS = ['%d.%m.%Y']
245DEBUG = True
246DEBUG_PROPAGATE_EXCEPTIONS = False
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_LANGUAGE_CODE = 'ru'
255DEFAULT_TABLESPACE = ''
256DISALLOWED_USER_AGENTS = []
257EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
258EMAIL_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'}
259EMAIL_FILE_PATH = ''
260EMAIL_HOST = '127.0.0.1'
261EMAIL_HOST_PASSWORD = '********************'
262EMAIL_HOST_USER = None
263EMAIL_PORT = None
264EMAIL_SSL_CERTFILE = None
265EMAIL_SSL_KEYFILE = '********************'
266EMAIL_SUBJECT_PREFIX = '[Django] '
267EMAIL_TIMEOUT = None
268EMAIL_USE_LOCALTIME = False
269EMAIL_USE_SSL = False
270EMAIL_USE_TLS = False
271FILE_CHARSET = 'utf-8'
272FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
273FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
274FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
275FILE_UPLOAD_PERMISSIONS = 420
276FILE_UPLOAD_TEMP_DIR = None
277FIRST_DAY_OF_WEEK = 0
278FIXTURE_DIRS = []
279FORCE_SCRIPT_NAME = None
280FORMAT_MODULE_PATH = None
281FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
282GUNICORN_PID = '/run/pet_health_gunicorn/pet_health_gunicorn.pid'
283HOME_URL = '/profile/personal-info/'
284IGNORABLE_404_URLS = []
285INSTALLED_APPS = ['markup', 'shared', 'apps.frontend', 'apps.pages', 'apps.organization', 'apps.staff', 'apps.common', 'apps.pets', 'apps.pet_tests', 'apps.pet_services', 'apps.hospital_cares', 'apps.case_histories', 'apps.visits', 'apps.work_schedule', 'apps.chats', 'apps.core', 'apps.notifications', 'apps.recipients', 'rosetta', 'django_jinja', 'robots', 'postie', 'des', 'instant', 'django_filters', 'parler', 'ckeditor', 'ckeditor_uploader', 'solo', 'jet', 'rangefilter', 'modeltranslation', 'script_pattern', 'adminsortable2', 'mptt', 'rest_framework', 'rest_framework.authtoken', 'rest_auth', 'rest_framework_recaptcha', 'drf_yasg', 'versatileimagefield', 'standards', 'social_django', 'dj_template_admin_urls', 'vuejs_translate', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'webpack_loader']
286INTERNAL_IPS = []
287IS_ONLINE_DELTA_MINUTES = 2
288JET_SIDE_MENU_COMPACT = True
289LANGUAGES = "(('ru', 'RU'), ('uk', 'UA'))"
290LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
291LANGUAGE_CODE = 'ru'
292LANGUAGE_COOKIE_AGE = None
293LANGUAGE_COOKIE_DOMAIN = None
294LANGUAGE_COOKIE_HTTPONLY = False
295LANGUAGE_COOKIE_NAME = 'django_language'
296LANGUAGE_COOKIE_PATH = '/'
297LANGUAGE_COOKIE_SAMESITE = None
298LANGUAGE_COOKIE_SECURE = False
299LOCALE_PATHS = "(PosixPath('/home/pet_health/pet_health/pet_health/server/app/locale'),)"
300LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/pet_health/pet_health/pet_health/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
301LOGGING_CONFIG = 'logging.config.dictConfig'
302LOGIN_REDIRECT_URL = '/profile/personal-info/'
303LOGIN_URL = '/accounts/login/'
304LOGOUT_REDIRECT_URL = '/sign-in/'
305MANAGERS = []
306MEDIA_ROOT = PosixPath('/home/pet_health/pet_health/pet_health/server/app/uploads')
307MEDIA_URL = '/uploads/'
308MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
309MIDDLEWARE = ['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.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware']
310MIGRATION_MODULES = {}
311MONTH_DAY_FORMAT = 'F j'
312NUMBER_GROUPING = 0
313OLD_PASSWORD_FIELD_ENABLED = '********************'
314ONLINE_TIMESTAMP_CACHE_LIVE_HOURS = 48
315PASSWORD_HASHERS = '********************'
316PASSWORD_RESET_TIMEOUT_DAYS = '********************'
317POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {}}
318POSTIE_INSTANT_SEND = True
319POSTIE_TEMPLATE_CHOICES = Choices(('confirm_email', 'confirm_email', 'Confirm email(users)'), ('password_reset_confirm_link__user', 'password_reset_confirm_link__user', 'Confirm password reset link(users)'), ('password_reset_send_password__user', 'password_reset_send_password__user', 'Send new password(users)'), ('new_user__admin', 'new_user__admin', 'New registered user(admins)'), ('confirm_email_by_admin', 'confirm_email_by_admin', 'Confirm email by admin(users)'), ('new_visit__user', 'new_visit__user', 'New visit(users)'), ('transfer_visit__user', 'transfer_visit__user', 'Transfer visit(users)'))
320POSTIE_TEMPLATE_CONTEXTS = {'confirm_email': {'login': 'Login', 'link': 'Confirmation link'}, 'password_reset_confirm_link__user': '********************', 'password_reset_send_password__user': '********************', 'new_user__admin': {'user': 'Пользователь', 'link': 'Admin panel link'}, 'confirm_email_by_admin': {'login': 'Login', 'link': 'Confirmation link'}, 'new_visit__user': {'pet': 'Pet', 'doctor': 'Doctor', 'date': 'Date', 'time': 'Время'}, 'transfer_visit__user': {'pet': 'Pet', 'doctor': 'Doctor', 'date': 'Date', 'time': 'Время'}}
321PREPEND_WWW = False
322PROJECT_APPS = ['markup', 'shared', 'apps.frontend', 'apps.pages', 'apps.organization', 'apps.staff', 'apps.common', 'apps.pets', 'apps.pet_tests', 'apps.pet_services', 'apps.hospital_cares', 'apps.case_histories', 'apps.visits', 'apps.work_schedule', 'apps.chats', 'apps.core', 'apps.notifications', 'apps.recipients']
323RESET_PASSWORD_EXPIRATION_DELTA = '********************'
324REST_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'], 'EXCEPTION_HANDLER': 'standards.drf.handlers.exception_handler'}
325REST_SESSION_LOGIN = True
326ROBOTS_SITEMAP_VIEW_NAME = 'sitemap'
327ROBOTS_USE_SCHEME_IN_HOST = True
328ROOT_URLCONF = 'app.urls'
329ROSETTA_LOGIN_URL = '/'
330ROSETTA_MESSAGES_PER_PAGE = 10
331ROSETTA_REQUIRES_AUTH = True
332ROSETTA_SHOW_AT_ADMIN_PANEL = True
333SECRET_KEY = '********************'
334SECURE_BROWSER_XSS_FILTER = False
335SECURE_CONTENT_TYPE_NOSNIFF = True
336SECURE_HSTS_INCLUDE_SUBDOMAINS = False
337SECURE_HSTS_PRELOAD = False
338SECURE_HSTS_SECONDS = 0
339SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
340SECURE_REDIRECT_EXEMPT = []
341SECURE_REFERRER_POLICY = None
342SECURE_SSL_HOST = None
343SECURE_SSL_REDIRECT = False
344SERVER_EMAIL = 'root@localhost'
345SESSION_CACHE_ALIAS = 'default'
346SESSION_COOKIE_AGE = 1209600
347SESSION_COOKIE_DOMAIN = None
348SESSION_COOKIE_HTTPONLY = True
349SESSION_COOKIE_NAME = 'sessionid'
350SESSION_COOKIE_PATH = '/'
351SESSION_COOKIE_SAMESITE = 'Lax'
352SESSION_COOKIE_SECURE = True
353SESSION_ENGINE = 'django.contrib.sessions.backends.db'
354SESSION_EXPIRE_AT_BROWSER_CLOSE = False
355SESSION_FILE_PATH = None
356SESSION_SAVE_EVERY_REQUEST = False
357SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
358SETTINGS_MODULE = 'app.settings'
359SHORT_DATETIME_FORMAT = 'm/d/Y P'
360SHORT_DATE_FORMAT = 'm/d/Y'
361SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
362SILENCED_SYSTEM_CHECKS = []
363SITE_ID = 1
364SITE_NAME = 'PetHealthCRM'
365SITE_SLUG = 'pet_health_crm'
366SOCIAL_AUTH_FACEBOOK_KEY = '********************'
367SOCIAL_AUTH_FACEBOOK_SCOPE = ['email']
368SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
369SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
370SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
371SOCIAL_AUTH_PIPELINE = "('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'social_core.pipeline.user.get_username', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_by_email', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'social_core.pipeline.user.user_details')"
372SOCIAL_AUTH_PROTECTED_USER_FIELDS = ['first_name', 'last_name']
373SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
374SOCIAL_AUTH_TWITTER_KEY = '********************'
375SOCIAL_AUTH_TWITTER_SECRET = '********************'
376SOCIAL_AUTH_USERNAME_IS_FULL_EMAIL = True
377SOLO_CACHE = 'default'
378STATICFILES_DIRS = []
379STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
380STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
381STATIC_ROOT = PosixPath('/home/pet_health/pet_health/pet_health/server/app/static')
382STATIC_URL = '/static/'
383TEMPLATES = [{'BACKEND': 'django_jinja.backend.Jinja2', 'NAME': 'jinja2', 'APP_DIRS': True, 'DIRS': [], 'OPTIONS': {'environment': 'shared.env.jinja2.environment', 'match_extension': '.jinja', 'newstyle_gettext': True, 'auto_reload': True, 'undefined': <class 'jinja2.runtime.Undefined'>, 'debug': True, 'filters': {}, 'globals': {}, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.DebugExtension', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension', 'webpack_loader.contrib.jinja2ext.WebpackExtension'], 'bytecode_cache': {'name': 'default', 'backend': 'django_jinja.cache.BytecodeCache', 'enabled': True}}}, {'DIRS': [], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'OPTIONS': {'context_processors': ['django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'django.contrib.auth.context_processors.auth']}}]
384TEST_NON_SERIALIZED_APPS = []
385TEST_RUNNER = 'django.test.runner.DiscoverRunner'
386THOUSAND_SEPARATOR = ','
387TIME_FORMAT = 'P'
388TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
389TIME_ZONE = 'Europe/Kiev'
390USE_I18N = True
391USE_L10N = True
392USE_THOUSAND_SEPARATOR = False
393USE_TZ = True
394USE_X_FORWARDED_HOST = False
395USE_X_FORWARDED_PORT = False
396VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
397VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 90, 'progressive_jpeg': True}
398WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/pet_health/pet_health/pet_health/server/apps/frontend/static/frontend/webpack-stats.json')}}
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