www.booking.shedrub-ling.ru
Open in
urlscan Pro
185.93.111.111
Public Scan
URL:
https://www.booking.shedrub-ling.ru/
Submission: On August 14 via api from US — Scanned from CA
Submission: On August 14 via api from US — Scanned from CA
Form analysis
1 forms found in the DOMName: pasteform — POST http://dpaste.com/
<form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
<div id="pastebinTraceback" class="pastebin" style="display: none;">
<input type="hidden" name="language" value="PythonConsole">
<input type="hidden" name="title" value="DisallowedHost at /">
<input type="hidden" name="source" value="Django Dpaste Agent">
<input type="hidden" name="poster" value="Django">
<textarea name="content" id="traceback_area" cols="140" rows="25">Environment:
Request Method: GET
Request URL: http://www.booking.shedrub-ling.ru/
Django Version: 2.1.4
Python Version: 3.7.17
Installed Applications:
['dal',
'dal_select2',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'django.contrib.sites',
'widget_tweaks',
'import_export',
'dynamic_preferences',
'uralcon',
'apps.users',
'apps.order']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback:
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/usr/local/lib/python3.7/site-packages/django/utils/deprecation.py" in __call__
90. response = self.process_request(request)
File "/usr/local/lib/python3.7/site-packages/django/middleware/common.py" in process_request
47. host = request.get_host()
File "/usr/local/lib/python3.7/site-packages/django/http/request.py" in get_host
106. raise DisallowedHost(msg)
Exception Type: DisallowedHost at /
Exception Value: Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add 'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS.
</textarea>
<br><br>
<input type="submit" value="Share this traceback on a public website">
</div>
</form>
Text Content
DISALLOWEDHOST AT / Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add 'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS. Request Method: GET Request URL: http://www.booking.shedrub-ling.ru/ Django Version: 2.1.4 Exception Type: DisallowedHost Exception Value: Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add 'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS. Exception Location: /usr/local/lib/python3.7/site-packages/django/http/request.py in get_host, line 106 Python Executable: /usr/local/bin/python Python Version: 3.7.17 Python Path: ['/opt/code/uralcon', '/opt/code', '/usr/local/bin', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages'] Server time: Ср, 14 Авг 2024 09:49:32 +0500 TRACEBACK SWITCH TO COPY-AND-PASTE VIEW * /usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py in inner 27. This decorator is automatically applied to all middleware to ensure that 28. no middleware leaks an exception and that the next middleware in the stack 29. can rely on getting a response instead of an exception. 30. """ 31. @wraps(get_response) 32. def inner(request): 33. try: 34. response = get_response(request) ... 35. except Exception as exc: 36. response = response_for_exception(request, exc) 37. return response 38. return inner 39. 40. ▶ Local vars Variable Value exc DisallowedHost("Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add 'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS.") get_response <django.middleware.common.CommonMiddleware object at 0x7f4c8e172910> request <WSGIRequest: GET '/'> * /usr/local/lib/python3.7/site-packages/django/utils/deprecation.py in __call__ 83. def __init__(self, get_response=None): 84. self.get_response = get_response 85. super().__init__() 86. 87. def __call__(self, request): 88. response = None 89. if hasattr(self, 'process_request'): 90. response = self.process_request(request) ... 91. response = response or self.get_response(request) 92. if hasattr(self, 'process_response'): 93. response = self.process_response(request, response) 94. return response ▶ Local vars Variable Value request <WSGIRequest: GET '/'> response None self <django.middleware.common.CommonMiddleware object at 0x7f4c8e172910> * /usr/local/lib/python3.7/site-packages/django/middleware/common.py in process_request 40. # Check for denied User-Agents 41. if 'HTTP_USER_AGENT' in request.META: 42. for user_agent_regex in settings.DISALLOWED_USER_AGENTS: 43. if user_agent_regex.search(request.META['HTTP_USER_AGENT']): 44. raise PermissionDenied('Forbidden user agent') 45. 46. # Check for a redirect based on settings.PREPEND_WWW 47. host = request.get_host() ... 48. must_prepend = settings.PREPEND_WWW and host and not host.startswith('www.') 49. redirect_url = ('%s://www.%s' % (request.scheme, host)) if must_prepend else '' 50. 51. # Check if a slash should be appended 52. if self.should_redirect_with_slash(request): 53. path = self.get_full_path_with_slash(request) ▶ Local vars Variable Value request <WSGIRequest: GET '/'> self <django.middleware.common.CommonMiddleware object at 0x7f4c8e172910> * /usr/local/lib/python3.7/site-packages/django/http/request.py in get_host 99. return host 100. else: 101. msg = "Invalid HTTP_HOST header: %r." % host 102. if domain: 103. msg += " You may need to add %r to ALLOWED_HOSTS." % domain 104. else: 105. msg += " The domain name provided is not valid according to RFC 1034/1035." 106. raise DisallowedHost(msg) ... 107. 108. def get_port(self): 109. """Return the port number for the request as a string.""" 110. if settings.USE_X_FORWARDED_PORT and 'HTTP_X_FORWARDED_PORT' in self.META: 111. port = self.META['HTTP_X_FORWARDED_PORT'] 112. else: ▶ Local vars Variable Value allowed_hosts ['0.0.0.0', '127.0.0.1', 'localhost', '85.12.249.213', '185.93.111.111', 'booking.suher.ru', 'booking.shedrub-ling.ru'] domain 'www.booking.shedrub-ling.ru' host 'www.booking.shedrub-ling.ru' msg ("Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add " "'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS.") port '' self <WSGIRequest: GET '/'> Environment: Request Method: GET Request URL: http://www.booking.shedrub-ling.ru/ Django Version: 2.1.4 Python Version: 3.7.17 Installed Applications: ['dal', 'dal_select2', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sites', 'widget_tweaks', 'import_export', 'dynamic_preferences', 'uralcon', 'apps.users', 'apps.order'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] Traceback: File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner 34. response = get_response(request) File "/usr/local/lib/python3.7/site-packages/django/utils/deprecation.py" in __call__ 90. response = self.process_request(request) File "/usr/local/lib/python3.7/site-packages/django/middleware/common.py" in process_request 47. host = request.get_host() File "/usr/local/lib/python3.7/site-packages/django/http/request.py" in get_host 106. raise DisallowedHost(msg) Exception Type: DisallowedHost at / Exception Value: Invalid HTTP_HOST header: 'www.booking.shedrub-ling.ru'. You may need to add 'www.booking.shedrub-ling.ru' to ALLOWED_HOSTS. REQUEST INFORMATION USER [unable to retrieve the current user] GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' HTTP_ACCEPT_ENCODING 'gzip, deflate, br, zstd' HTTP_ACCEPT_LANGUAGE 'en-CA,en;q=0.9' HTTP_CONNECTION 'close' HTTP_HOST 'www.booking.shedrub-ling.ru' HTTP_SEC_FETCH_DEST 'document' HTTP_SEC_FETCH_MODE 'navigate' HTTP_SEC_FETCH_SITE 'none' HTTP_SEC_FETCH_USER '?1' HTTP_UPGRADE_INSECURE_REQUESTS '1' HTTP_USER_AGENT ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/127.0.0.0 Safari/537.36') HTTP_X_FORWARDED_FOR '149.88.16.235' HTTP_X_REAL_IP '149.88.16.235' PATH_INFO '/' QUERY_STRING '' RAW_URI '/' REMOTE_ADDR '185.93.111.111' REMOTE_PORT '54006' REQUEST_METHOD 'GET' SCRIPT_NAME '' SERVER_NAME '0.0.0.0' SERVER_PORT '80' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'gunicorn/19.9.0' gunicorn.socket <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.0.4', 80), raddr=('185.93.111.111', 54006)> wsgi.errors <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f4c7cdf5110> wsgi.file_wrapper '' wsgi.input <gunicorn.http.body.Body object at 0x7f4c7ceb6c10> wsgi.multiprocess True wsgi.multithread True wsgi.run_once False wsgi.url_scheme 'http' wsgi.version (1, 0) SETTINGS USING SETTINGS MODULE URALCON.SETTINGS Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS [] ALLOWED_HOSTS ['0.0.0.0', '127.0.0.1', 'localhost', '85.12.249.213', '185.93.111.111', 'booking.suher.ru', 'booking.shedrub-ling.ru'] APPEND_SLASH True AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend'] AUTH_PASSWORD_VALIDATORS '********************' AUTH_USER_MODEL 'users.User' BASE_DIR '/opt/code' BASE_URL '/' CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS 'default' CACHE_MIDDLEWARE_KEY_PREFIX '********************' CACHE_MIDDLEWARE_SECONDS 600 CSRF_COOKIE_AGE 31449600 CSRF_COOKIE_DOMAIN None CSRF_COOKIE_HTTPONLY False CSRF_COOKIE_NAME 'csrftoken' CSRF_COOKIE_PATH '/' CSRF_COOKIE_SAMESITE 'Lax' CSRF_COOKIE_SECURE False CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS [] CSRF_USE_SESSIONS False DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'postgres', 'NAME': 'uralcon', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'uralcon'}} DATABASE_ROUTERS [] DATA_UPLOAD_MAX_MEMORY_SIZE 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS 1000 DATETIME_FORMAT 'N j, Y, P' DATETIME_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'] DATE_FORMAT 'N j, Y' DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG True DEBUG_PROPAGATE_EXCEPTIONS False DECIMAL_SEPARATOR '.' DEFAULT_CHARSET 'utf-8' DEFAULT_CONTENT_TYPE 'text/html' DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL 'noreply@booking.shedrub-ling.ru' DEFAULT_INDEX_TABLESPACE '' DEFAULT_TABLESPACE '' DISALLOWED_USER_AGENTS [] DYNAMIC_PREFERENCES {'ADMIN_ENABLE_CHANGELIST_FORM': True, 'ENABLE_CACHE': False, 'MANAGER_ATTRIBUTE': 'preferences', 'REGISTRY_MODULE': 'dynamic_preferences_registry', 'SECTION_KEY_SEPARATOR': '********************', 'VALIDATE_NAMES': True} EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST 'skvmrelay.netangels.ru' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER '' EMAIL_PORT 25 EMAIL_SSL_CERTFILE None EMAIL_SSL_KEYFILE '********************' EMAIL_SUBJECT_PREFIX '[Django] ' EMAIL_TIMEOUT None EMAIL_USE_LOCALTIME False EMAIL_USE_SSL False EMAIL_USE_TLS False ENVIRONMENT 'production' ENV_DICT {'BASE_URL': '/', 'DEBIAN_FRONTEND': 'noninteractive', 'DEBUG': True, 'DJANGO_SETTINGS_MODULE': 'uralcon.settings', 'ENVIRONMENT': 'production', 'GPG_KEY': '********************', 'HOME': '/root', 'HOSTNAME': '2368a020b97c', 'LANG': 'ru_RU.UTF-8', 'LANGUAGE': 'ru_RU.UTF-8', 'LC_ALL': 'ru_RU.UTF-8', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'POSTGRES_HOST': 'postgres', 'POSTGRES_NAME': 'uralcon', 'POSTGRES_PASSWORD': '********************', 'POSTGRES_PORT': 5432, 'POSTGRES_USER': 'uralcon', 'PROJECT_NAME': 'uralcon', 'PWD': '/opt/code', 'PYTHONBUFFERED': 1, 'PYTHON_GET_PIP_SHA256': '96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207', 'PYTHON_GET_PIP_URL': 'https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py', 'PYTHON_PIP_VERSION': '23.0.1', 'PYTHON_SETUPTOOLS_VERSION': '57.5.0', 'PYTHON_VERSION': '3.7.17', 'SERVER_SOFTWARE': 'gunicorn/19.9.0', 'SHLVL': 0, 'TERM': 'xterm-256color', 'TZ': 'Asia/Yekaterinburg'} ENV_DICT_FROM_OS {'BASE_URL': '/', 'DEBIAN_FRONTEND': 'noninteractive', 'DEBUG': True, 'DJANGO_SETTINGS_MODULE': 'uralcon.settings', 'ENVIRONMENT': 'production', 'GPG_KEY': '********************', 'HOME': '/root', 'HOSTNAME': '2368a020b97c', 'LANG': 'ru_RU.UTF-8', 'LANGUAGE': 'ru_RU.UTF-8', 'LC_ALL': 'ru_RU.UTF-8', 'PATH': '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'POSTGRES_HOST': 'postgres', 'POSTGRES_NAME': 'uralcon', 'POSTGRES_PASSWORD': '********************', 'POSTGRES_PORT': 5432, 'POSTGRES_USER': 'uralcon', 'PROJECT_NAME': 'uralcon', 'PWD': '/opt/code', 'PYTHONBUFFERED': 1, 'PYTHON_GET_PIP_SHA256': '96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207', 'PYTHON_GET_PIP_URL': 'https://github.com/pypa/get-pip/raw/0d8570dc44796f4369b652222cf176b3db6ac70e/public/get-pip.py', 'PYTHON_PIP_VERSION': '23.0.1', 'PYTHON_SETUPTOOLS_VERSION': '57.5.0', 'PYTHON_VERSION': '3.7.17', 'SERVER_SOFTWARE': 'gunicorn/19.9.0', 'SHLVL': 0, 'TERM': 'xterm-256color', 'TZ': 'Asia/Yekaterinburg'} ENV_FILE '/opt/code/.env' ENV_FILE_FROM_FILE {'BASE_URL': '/', 'DEBUG': True, 'ENVIRONMENT': 'production', 'POSTGRES_HOST': 'postgres', 'POSTGRES_NAME': 'uralcon', 'POSTGRES_PASSWORD': '********************', 'POSTGRES_PORT': 5432, 'POSTGRES_USER': 'uralcon', 'PROJECT_NAME': 'uralcon'} FILE_CHARSET 'utf-8' FILE_UPLOAD_DIRECTORY_PERMISSIONS None FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_TEMP_DIR None FIRST_DAY_OF_WEEK 0 FIXTURE_DIRS [] FORCE_SCRIPT_NAME None FORMAT_MODULE_PATH None FORM_RENDERER 'django.forms.renderers.DjangoTemplates' IGNORABLE_404_URLS [] INSTALLED_APPS ['dal', 'dal_select2', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sites', 'widget_tweaks', 'import_export', 'dynamic_preferences', 'uralcon', 'apps.users', 'apps.order'] INTERNAL_IPS [] LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI ['he', 'ar', 'fa', 'ur'] LANGUAGE_CODE 'ru-RU' LANGUAGE_COOKIE_AGE None LANGUAGE_COOKIE_DOMAIN None LANGUAGE_COOKIE_NAME 'django_language' LANGUAGE_COOKIE_PATH '/' LOCALE_PATHS [] LOGGING {} LOGGING_CONFIG 'logging.config.dictConfig' LOGIN_REDIRECT_URL '/users/profile/' LOGIN_URL '/users/login/' LOGOUT_REDIRECT_URL None MANAGERS [] MEDIA_ROOT '/opt/code/uralcon/media' MEDIA_URL '/media/' MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] MIGRATION_MODULES {} MONTH_DAY_FORMAT 'F j' NUMBER_GROUPING 0 PASSWORD_HASHERS '********************' PASSWORD_RESET_TIMEOUT_DAYS '********************' PREPEND_WWW False ROOT_URLCONF 'uralcon.urls' SECRET_KEY '********************' SECURE_BROWSER_XSS_FILTER False SECURE_CONTENT_TYPE_NOSNIFF False SECURE_HSTS_INCLUDE_SUBDOMAINS False SECURE_HSTS_PRELOAD False SECURE_HSTS_SECONDS 0 SECURE_PROXY_SSL_HEADER None SECURE_REDIRECT_EXEMPT [] SECURE_SSL_HOST None SECURE_SSL_REDIRECT False SERVER_EMAIL 'root@localhost' SESSION_CACHE_ALIAS 'default' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_HTTPONLY True SESSION_COOKIE_NAME 'sessionid' SESSION_COOKIE_PATH '/' SESSION_COOKIE_SAMESITE 'Lax' SESSION_COOKIE_SECURE False SESSION_ENGINE 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE False SESSION_FILE_PATH None SESSION_SAVE_EVERY_REQUEST False SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE 'uralcon.settings' SHORT_DATETIME_FORMAT 'm/d/Y P' SHORT_DATE_FORMAT 'm/d/Y' SIGNING_BACKEND 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS [] SITE_ID 1 STATICFILES_DIRS [] STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT '/opt/code/uralcon/static' STATIC_URL '/static/' TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/code/uralcon/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.request', 'dynamic_preferences.processors.global_preferences']}}] TEST_NON_SERIALIZED_APPS [] TEST_RUNNER 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR ',' TIME_FORMAT 'P' TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE 'Asia/Yekaterinburg' USE_I18N True USE_L10N True USE_THOUSAND_SEPARATOR False USE_TZ False USE_X_FORWARDED_HOST False USE_X_FORWARDED_PORT False WSGI_APPLICATION 'uralcon.wsgi.application' X_FRAME_OPTIONS 'SAMEORIGIN' YEAR_MONTH_FORMAT 'F Y' You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.