'future' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls bootstrap4 cache crispy_forms_field crispy_forms_filters crispy_forms_tags crispy_forms_utils debugger_tags highlighting i18n indent_text l10n log rest_framework sorl_thumbnail static syntax_color thumbnail tz widont
Request Method: | GET |
---|---|
Request URL: | https://www.agilityportal.sk/en/core/slovensky-manual/ |
Django Version: | 3.1 |
Exception Type: | TemplateSyntaxError |
Exception Value: | 'future' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls bootstrap4 cache crispy_forms_field crispy_forms_filters crispy_forms_tags crispy_forms_utils debugger_tags highlighting i18n indent_text l10n log rest_framework sorl_thumbnail static syntax_color thumbnail tz widont |
Exception Location: | /var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/defaulttags.py, line 1036, in find_library |
Python Executable: | /var/www/agilityportal/venv/ap/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/var/www/agilityportal/src', '/var/www/agilityportal/venv/ap/bin', '/var/www/agilityportal/src', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/var/www/agilityportal/venv/ap/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 03:11:15 +0100 |
In template /var/www/agilityportal/src/templates/core/page.html
, error at line 1
1 | {% extends "corebase.html" %}{% load i18n crispy_forms_tags thumbnail %}{% load url from future %} |
---|---|
2 | {% block title %}{{ page.title }}{% endblock %} |
3 | {% block body %} |
4 | <h2>{{ page.title }}<br><small>{{ page.date }}, {{ page.author }}</small></h2> |
5 | {{ page.render|safe }} |
6 | {% endblock %} |
7 | |
8 |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/defaulttags.py
, line 1034, in find_library
nodelist_false = NodeList()
values = [parser.compile_filter(bit) for bit in bits[1:]]
return IfChangedNode(nodelist_true, nodelist_false, *values)
def find_library(parser, name):
try:
return parser.libraries[name]…
except KeyError:
raise TemplateSyntaxError(
"'%s' is not a registered tag library. Must be one of:\n%s" % (
name, "\n".join(sorted(parser.libraries)),
),
)
Variable | Value |
---|---|
name | 'future' |
parser | <django.template.base.Parser object at 0x7f587a38e400> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception)(request, exc)
return response
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 | TemplateSyntaxError("'future' is not a registered tag library. Must be one of:\nadmin_list\nadmin_modify\nadmin_urls\nbootstrap4\ncache\ncrispy_forms_field\ncrispy_forms_filters\ncrispy_forms_tags\ncrispy_forms_utils\ndebugger_tags\nhighlighting\ni18n\nindent_text\nl10n\nlog\nrest_framework\nsorl_thumbnail\nstatic\nsyntax_color\nthumbnail\ntz\nwidont") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f587b6c7d00>> |
request | <WSGIRequest: GET '/en/core/slovensky-manual/'> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/core/handlers/base.py
, line 202, in _get_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 PageView at 0x7f587b1e5160> |
callback_args | () |
callback_kwargs | {'slug': 'slovensky-manual'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f587b4f0fd0>> |
request | <WSGIRequest: GET '/en/core/slovensky-manual/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f587b6c7d00> |
wrapped_callback | <function PageView at 0x7f587b1e5160> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/response.py
, line 105, 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"> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/response.py
, line 81, 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"> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/response.py
, line 63, 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 | ['core/page.html'] |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/loader.py
, line 42, in select_template
)
chain = []
engines = _engine_list(using)
for template_name in template_name_list:
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:
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f587b22d340> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f587b22d340>] |
template_name | 'core/page.html' |
template_name_list | ['core/page.html'] |
using | None |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/backends/django.py
, line 34, in get_template
self.engine = Engine(self.dirs, self.app_dirs, **options)
def from_string(self, template_code):
return Template(self.engine.from_string(template_code), self)
def get_template(self, template_name):
try:
return Template(self.engine.get_template(template_name), self)…
except TemplateDoesNotExist as exc:
reraise(exc, self)
def get_templatetag_libraries(self, custom_libraries):
"""
Return a collation of template tag libraries from installed
Variable | Value |
---|---|
self | <django.template.backends.django.DjangoTemplates object at 0x7f587b22d340> |
template_name | 'core/page.html' |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/engine.py
, line 143, in get_template
return Template(template_code, engine=self)
def get_template(self, template_name):
"""
Return a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = self.find_template(template_name)…
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
def render_to_string(self, template_name, context=None):
Variable | Value |
---|---|
self | <django.template.engine.Engine object at 0x7f587b2436a0> |
template_name | 'core/page.html' |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/engine.py
, line 125, in find_template
raise ImproperlyConfigured(
"Invalid value in template loaders configuration: %r" % loader)
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
try:
template = loader.get_template(name, skip=skip)…
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
raise TemplateDoesNotExist(name, tried=tried)
def from_string(self, template_code):
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.filesystem.Loader object at 0x7f587ac63160> |
name | 'core/page.html' |
self | <django.template.engine.Engine object at 0x7f587b2436a0> |
skip | None |
tried | [] |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/loaders/base.py
, line 29, in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(…
contents, origin, origin.template_name, self.engine,
)
raise TemplateDoesNotExist(template_name, tried=tried)
def get_template_sources(self, template_name):
Variable | Value |
---|---|
contents | ('{% extends "corebase.html" %}{% load i18n crispy_forms_tags thumbnail %}{% ' 'load url from future %}\n' '{% block title %}{{ page.title }}{% endblock %}\n' '{% block body %}\n' '<h2>{{ page.title }}<br><small>{{ page.date }}, {{ page.author ' '}}</small></h2>\n' '{{ page.render|safe }}\n' '{% endblock %}\n' '\n') |
origin | <django.template.base.Origin object at 0x7f587a80c070> |
self | <django.template.loaders.filesystem.Loader object at 0x7f587ac63160> |
skip | None |
template_name | 'core/page.html' |
tried | [] |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 155, in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = str(template_string) # May be lazy.
self.nodelist = self.compile_nodelist()…
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7f587b2436a0> |
name | 'core/page.html' |
origin | <django.template.base.Origin object at 0x7f587a80c070> |
self | <django.template.base.Template object at 0x7f587a80c3d0> |
template_string | ('{% extends "corebase.html" %}{% load i18n crispy_forms_tags thumbnail %}{% ' 'load url from future %}\n' '{% block title %}{{ page.title }}{% endblock %}\n' '{% block body %}\n' '<h2>{{ page.title }}<br><small>{{ page.date }}, {{ page.author ' '}}</small></h2>\n' '{{ page.render|safe }}\n' '{% endblock %}\n' '\n') |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 193, in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()…
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
lexer | <django.template.base.DebugLexer object at 0x7f587a80c9a0> |
parser | <django.template.base.Parser object at 0x7f587a38e400> |
self | <django.template.base.Template object at 0x7f587a80c3d0> |
tokens | [<django.template.base.Token object at 0x7f587a80c0a0>, <django.template.base.Token object at 0x7f587a80caf0>, <django.template.base.Token object at 0x7f587a80cb80>, <django.template.base.Token object at 0x7f587a80cd30>, <django.template.base.Token object at 0x7f587a80cb20>, <django.template.base.Token object at 0x7f587a80cca0>, <django.template.base.Token object at 0x7f587a80ce50>, <django.template.base.Token object at 0x7f587a80cf10>, <django.template.base.Token object at 0x7f587a80cf40>, <django.template.base.Token object at 0x7f587a80cfa0>, <django.template.base.Token object at 0x7f587a38e0a0>, <django.template.base.Token object at 0x7f587a38e0d0>, <django.template.base.Token object at 0x7f587a38e130>, <django.template.base.Token object at 0x7f587a38e190>, <django.template.base.Token object at 0x7f587a38e1f0>, <django.template.base.Token object at 0x7f587a38e250>, <django.template.base.Token object at 0x7f587a38e2b0>, <django.template.base.Token object at 0x7f587a38e310>, <django.template.base.Token object at 0x7f587a38e370>, <django.template.base.Token object at 0x7f587a80c8e0>] |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 478, in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'extends' |
compile_func | <function do_extends at 0x7f587c6558b0> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80c0a0> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 476, in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'extends' |
compile_func | <function do_extends at 0x7f587c6558b0> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80c0a0> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/loader_tags.py
, line 270, in do_extends
the parent template itself (if it evaluates to a Template object).
"""
bits = token.split_contents()
if len(bits) != 2:
raise TemplateSyntaxError("'%s' takes one argument" % bits[0])
bits[1] = construct_relative_path(parser.origin.template_name, bits[1])
parent_name = parser.compile_filter(bits[1])
nodelist = parser.parse()…
if nodelist.get_nodes_by_type(ExtendsNode):
raise TemplateSyntaxError("'%s' cannot appear more than once in the same template" % bits[0])
return ExtendsNode(nodelist, parent_name)
@register.tag('include')
Variable | Value |
---|---|
bits | ['extends', '"corebase.html"'] |
parent_name | <django.template.base.FilterExpression object at 0x7f587a38e430> |
parser | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80c0a0> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 478, in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'load' |
compile_func | <function load at 0x7f587c6514c0> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7f587a38e490> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f587a38e490>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80cb80> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/base.py
, line 476, in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'load' |
compile_func | <function load at 0x7f587c6514c0> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7f587a38e490> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f587a38e490>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80cb80> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/defaulttags.py
, line 1085, in load
{% load byline from news %}
"""
# token.split_contents() isn't useful here because this tag doesn't accept variable as arguments
bits = token.contents.split()
if len(bits) >= 4 and bits[-2] == "from":
# from syntax is used; load individual tags from the library
name = bits[-1]
lib = find_library(parser, name)…
subset = load_from_library(lib, name, bits[1:-2])
parser.add_library(subset)
else:
# one or more libraries are specified; load and add them to the parser
for name in bits[1:]:
lib = find_library(parser, name)
Variable | Value |
---|---|
bits | ['load', 'url', 'from', 'future'] |
name | 'future' |
parser | <django.template.base.Parser object at 0x7f587a38e400> |
token | <django.template.base.Token object at 0x7f587a80cb80> |
/var/www/agilityportal/venv/ap/lib/python3.8/site-packages/django/template/defaulttags.py
, line 1036, in find_library
return IfChangedNode(nodelist_true, nodelist_false, *values)
def find_library(parser, name):
try:
return parser.libraries[name]
except KeyError:
raise TemplateSyntaxError(…
"'%s' is not a registered tag library. Must be one of:\n%s" % (
name, "\n".join(sorted(parser.libraries)),
),
)
Variable | Value |
---|---|
name | 'future' |
parser | <django.template.base.Parser object at 0x7f587a38e400> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'www.agilityportal.sk' |
HTTP_REFERER | 'https://www.agilityportal.sk/en/core/slovensky-manual' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.87.133.69' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.87.133.69' |
PATH_INFO | '/en/core/slovensky-manual/' |
QUERY_STRING | '' |
RAW_URI | '/en/core/slovensky-manual/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.agilityportal.sk' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/var/www/run/agilityportal-socket.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f587a9f0820> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f587a9f07c0> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
agilityportal.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_ADAPTER | 'users.adapter.MyAccountAdapter' |
ACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_LOGOUT_REDIRECT_URL | 'homepage' |
ADMINS | (('Roman Hajnala', 'noske@noske.sk'),) |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'users.User' |
BASE_DIR | Path('/var/www/agilityportal/src') |
BROKER_URL | 'amqp://guest:guest@localhost:5672//' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CELERYBEAT_SCHEDULER | 'django_celery_beat.schedulers:DatabaseScheduler' |
CELERYD_MAX_TASKS_PER_CHILD | 1000 |
CELERY_ACCEPT_CONTENT | ['json'] |
CELERY_ACKS_LATE | True |
CELERY_RESULT_BACKEND | 'redis://127.0.0.1/1' |
CELERY_RESULT_SERIALIZER | 'json' |
CELERY_TASK_SERIALIZER | 'json' |
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 | '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': '127.0.0.1', 'NAME': 'agilityportal', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'agiportal.sk'}} |
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', '%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 | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_COMPETITIONS_DAY_PRICE | 10 |
DEFAULT_COMPETITIONS_PRICE | 20 |
DEFAULT_COUNTRY | 'SK' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FIRST_VARIABLE_SYMBOL | 100 |
DEFAULT_FROM_EMAIL | 'noreply@agilityportal.sk' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_MAX_TEAM_NUMBER_FOR_COMPETITIONS | 100 |
DEFAULT_REGION | 'BA' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_CONFIRMATION_EXPIRE_DAYS | 2 |
EMAIL_HOST | 'mail.agilityportal.sk' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'noreply@agilityportal.sk' |
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 | True |
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.sitemaps', 'django.contrib.staticfiles', 'django.contrib.sites', 'crispy_forms', 'django_cleanup', 'django_extensions', 'model_utils', 'rest_framework', 'sorl.thumbnail', 'bootstrap4', 'export_xls', 'dbmailer', 'users', 'dogs', 'frontend', 'core', 'clubs', 'competitions', 'external_events') |
INTERNAL_IPS | [] |
LANGUAGES | (('sk', 'Slovak'), ('en', 'English')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'sk' |
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_INDEPENDENT_PATHS | ('^/admin/',) |
LOCALE_PATHS | (Path('/var/www/agilityportal/src/locale'),) |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'console': {'format': '{"level": "%(levelname)s", "ts": ' '"%(asctime)s", "caller": "%(name)s", ' '"message": "%(message)s"}'}, 'file': {'format': '{"level": "%(levelname)s", "ts": ' '"%(asctime)s", "caller": "%(name)s", ' '"message": "%(message)s"}'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'console'}, 'file': {'class': 'logging.FileHandler', 'filename': '/var/www/agilityportal/log/debug.log', 'formatter': 'file', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['console', 'file'], 'level': 'DEBUG'}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'user_profile' |
LOGIN_URL | '/prihlasenie' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | Path('/var/www/agilityportal/media') |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
ONLINE_API_BASE_URL | '********************' |
ONLINE_API_COMPETITION | '********************' |
ONLINE_API_SERVER | '********************' |
ONLINE_API_STARTING_LIST | '********************' |
ONLINE_API_VERSION_URL | '********************' |
PASSWORD_HASHERS | '********************' |
PASSWORD_MIN_LENGTH | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_DIR | Path('/var/www/agilityportal') |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.BasicAuthentication',)} |
ROOT_URLCONF | 'agilityportal.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
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 | 'noreply@agilityportal.sk' |
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 | 'agilityportal.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 | (Path('/var/www/agilityportal/src/static'),) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.FileSystemFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | Path('/var/www/agilityportal/static') |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [Path('/var/www/agilityportal/src/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.i18n']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_CACHE_TIMEOUT | 604800 |
THUMBNAIL_DEBUG | True |
THUMBNAIL_FORMAT | 'JPEG' |
THUMBNAIL_KEY_PREFIX | '********************' |
THUMBNAIL_KVSTORE | 'sorl.thumbnail.kvstores.cached_db_kvstore.KVStore' |
THUMBNAIL_PREFIX | 't/' |
THUMBNAIL_PROGRESSIVE | True |
THUMBNAIL_QUALITY | 95 |
THUMBNAIL_REDIS_DB | 3 |
THUMBNAIL_REDIS_HOST | 'localhost' |
THUMBNAIL_REDIS_PASSWORD | '********************' |
THUMBNAIL_REDIS_PORT | 6379 |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Bratislava' |
USER_HIDE_NAME_LENGTH | 2 |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
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.