registration/login.html
Request Method: | GET |
---|---|
Request URL: | http://conlybus.com/en/accounts/login/?next=/en/exchange/%253Fsrc_amount%253D15000%2526src_currency%253DRUB%2526dest_amount%253D184.11%2526dest_currency%253DEUR |
Django Version: | 4.0.3 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | registration/login.html |
Exception Location: | /usr/local/lib/python3.10/site-packages/django/template/loader.py, line 47, in select_template |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.10.2 |
Python Path: | ['/app', '/app', '/usr/local/bin', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf', '/usr/local/lib/python3.10/site-packages/odf'] |
Server time: | Thu, 28 Mar 2024 15:39:11 +0100 |
Django tried loading these templates, in this order:
Using engine django
:
django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/django/contrib/admin/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/django/contrib/auth/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/crispy_forms/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/parler/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/captcha/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/rest_framework/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/import_export/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/django_otp/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/django_otp/plugins/otp_totp/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/django_otp/plugins/otp_email/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /app/core/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /app/accounts/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /app/cards/templates/registration/login.html (Source does not exist)django.template.loaders.app_directories.Loader
: /usr/local/lib/python3.10/site-packages/two_factor/templates/registration/login.html (Source does not exist)/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py
, line 55, in inner
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | TemplateDoesNotExist('registration/login.html') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f9aa4f995a0>> |
request | <WSGIRequest: GET '/en/accounts/login/?next=/en/exchange/%253Fsrc_amount%253D15000%2526src_currency%253DRUB%2526dest_amount%253D184.11%2526dest_currency%253DEUR'> |
/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py
, line 220, in _get_response
self.check_response(
response,
middleware_method,
name="%s.process_template_response"
% (middleware_method.__self__.__class__.__name__,),
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function View.as_view.<locals>.view at 0x7f9aa4869240> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/en/accounts/login/?next=/en/exchange/%253Fsrc_amount%253D15000%2526src_currency%253DRUB%2526dest_amount%253D184.11%2526dest_currency%253DEUR'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9aa4f995a0> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7f9aa4869240> |
/usr/local/lib/python3.10/site-packages/django/template/response.py
, line 114, in render
If the content has already been rendered, this is a no-op.
Return the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content…
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/local/lib/python3.10/site-packages/django/template/response.py
, line 90, in rendered_content
"""Return the freshly rendered content for the template and context
described by the TemplateResponse.
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)…
context = self.resolve_context(self.context_data)
return template.render(context, self._request)
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/local/lib/python3.10/site-packages/django/template/response.py
, line 72, in resolve_template
del obj_dict[attr]
return obj_dict
def resolve_template(self, template):
"""Accept a template object, path-to-template, or list of paths."""
if isinstance(template, (list, tuple)):
return select_template(template, using=self.using)…
elif isinstance(template, str):
return get_template(template, using=self.using)
else:
return template
def resolve_context(self, context):
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | ['registration/login.html'] |
/usr/local/lib/python3.10/site-packages/django/template/loader.py
, line 47, in select_template
for engine in engines:
try:
return engine.get_template(template_name)
except TemplateDoesNotExist as e:
chain.append(e)
if template_name_list:
raise TemplateDoesNotExist(", ".join(template_name_list), chain=chain)…
else:
raise TemplateDoesNotExist("No template names provided")
def render_to_string(template_name, context=None, request=None, using=None):
"""
Variable | Value |
---|---|
chain | [TemplateDoesNotExist('registration/login.html')] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f9aa4872a70> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f9aa4872a70>] |
template_name | 'registration/login.html' |
template_name_list | ['registration/login.html'] |
using | None |
AnonymousUser
Variable | Value |
---|---|
next | '/en/exchange/%3Fsrc_amount%3D15000%26src_currency%3DRUB%26dest_amount%3D184.11%26dest_currency%3DEUR' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip' |
HTTP_HOST | 'conlybus.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.235.227.36' |
HTTP_X_FORWARDED_HOST | 'conlybus.com' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SERVER | 'e9048821bf46' |
HTTP_X_REAL_IP | '3.235.227.36' |
PATH_INFO | '/en/accounts/login/' |
QUERY_STRING | 'next=/en/exchange/%253Fsrc_amount%253D15000%2526src_currency%253DRUB%2526dest_amount%253D184.11%2526dest_currency%253DEUR' |
RAW_URI | '/en/accounts/login/?next=/en/exchange/%253Fsrc_amount%253D15000%2526src_currency%253DRUB%2526dest_amount%253D184.11%2526dest_currency%253DEUR' |
REMOTE_ADDR | '172.20.0.4' |
REMOTE_PORT | '39504' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '5000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
gunicorn.socket | <socket.socket fd=23, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.20.0.6', 5000), raddr=('172.20.0.4', 39504)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9a9b385ff0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f9a9b3627a0> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
config.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', '127.0.0.1', 'pod-mvp.herokuapp.com', '164.92.152.244', 'conlybus.com', '.conlybus.com', '.ngrok.io'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'accounts.CustomUser' |
BASE_DIR | PosixPath('/app') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERY_ACCEPT_CONTENT | ['json'] |
CELERY_BROKER_URL | 'redis://redis:6379/0' |
CELERY_RESULT_BACKEND | 'redis://redis:6379/0' |
CELERY_RESULT_SERIALIZER | 'json' |
CELERY_TASK_SERIALIZER | 'json' |
CELERY_TIMEZONE | 'Europe/Bratislava' |
CORS_ALLOW_ALL_ORIGINS | True |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
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 | 'core.views.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://pod-mvp.herokuapp.com', 'https://conlybus.com', 'https://*.conlybus.com', 'https://*.ngrok.io'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 500, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'db', 'NAME': 'pod-mvp', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'pod-mvp'}} |
DATABASE_ROUTERS | [] |
DATABASE_URL | 'postgres://pod-mvp:superstrongpassword@db:5432/pod-mvp' |
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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 | 1 |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'noreply@conlybus.com' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'jozef@conlybus.com' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | 5 |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
EXCHAGE_RATES_API_KEY | '********************' |
EXCHANGE_API_KEY | '********************' |
FETCH_FREQUENCY | 60 |
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 | 420 |
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 | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'widget_tweaks', 'crispy_forms', 'parler', 'localflavor', 'phonenumber_field', 'captcha', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_simplejwt.token_blacklist', 'corsheaders', 'import_export', 'django_otp', 'django_otp.plugins.otp_static', 'django_otp.plugins.otp_totp', 'django_otp.plugins.otp_email', 'core', 'accounts', 'cards', 'waitlist', 'two_factor', 'two_factor.plugins.email'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'), ('ru', 'Russian')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [PosixPath('/app/locale')] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'index' |
LOGIN_URL | 'two_factor:login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'corsheaders.middleware.CorsMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PARLER_LANGUAGES | {None: ({'code': 'en', 'fallbacks': ['en'], 'hide_untranslated': False}, {'code': 'ru', 'fallbacks': ['en'], 'hide_untranslated': False}), 'default': {'code': 'en', 'fallbacks': ['en'], 'hide_untranslated': False}} |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
QIWI_PUB_KEY | '********************' |
QIWI_TOKEN | '********************' |
RECAPTCHA_PRIVATE_KEY | '********************' |
RECAPTCHA_PUBLIC_KEY | '********************' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',), 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly']} |
ROOT_URLCONF | 'config.urls' |
SECRET_KEY | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
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 | 'config.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [PosixPath('/app/static')] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'whitenoise.storage.CompressedManifestStaticFilesStorage' |
STATIC_ROOT | PosixPath('/app/staticfiles') |
STATIC_URL | '/static/' |
TELEBOT_API_KEY | '********************' |
TELEBOT_CASH_CHAT_ID | -4059629127 |
TELEBOT_CHAT_ID | -774002483 |
TELEBOT_FEEDBACK_CHAT_ID | -773689594 |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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']}}] |
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 | 'Europe/Bratislava' |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WEBDRIVER_PATH | None |
WEBHOOK_HOST | 'https://conlybus.com' |
WSGI_APPLICATION | 'config.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.