Could not parse the remainder: '=' from '='
Request Method: | GET |
---|---|
Request URL: | https://www.minet-tv.com/it/feed/?page=5 |
Django Version: | 3.2 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '=' from '=' |
Exception Location: | /home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/base.py, line 662, in __init__ |
Python Executable: | /home/mediaart/.virtualenvs/minet/bin/python3.7 |
Python Version: | 3.9.2 |
Python Path: | ['/home/mediaart/.virtualenvs/minet/bin', '/home/mediaart/minet/minet', '/home/mediaart/.virtualenvs/minet/lib/python39.zip', '/home/mediaart/.virtualenvs/minet/lib/python3.9', '/home/mediaart/.virtualenvs/minet/lib/python3.9/lib-dynload', '/usr/lib/python3.9', '/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages'] |
Server time: | Fri, 29 Mar 2024 09:54:41 +0100 |
In template /home/mediaart/minet/minet/minet/templates/cms_feed.html
, error at line 38
28 | {% endif %} |
---|---|
29 | {% endfor %} |
30 | </div> |
31 | </div> |
32 | |
33 | <div class="feed-pagination"> |
34 | {% if feed.has_previous %} |
35 | <a href="?page={{ feed.previous_page_number }}" class="btn btn-primary btn-square-xl btn-back"></a> |
36 | {% endif %} |
37 | {% for page_num in adjacent_pages %} |
38 | <a href="?page={{ page_num }}" class="btn btn-primary btn-square-xl hidden-xs{% if page_num = page_number %} disabled{% endif %}">{{ page_num }}</a> |
39 | {% endfor %} |
40 | {% if feed.has_next %} |
41 | <a href="?page={{ feed.next_page_number }}" class="btn btn-primary btn-square-xl btn-forward"></a> |
42 | {% endif %} |
43 | </div> |
44 | |
45 | |
46 | </div> |
47 | {% endblock %} |
48 |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/smartif.py
, line 175, in translate_token
self.tokens = mapped_tokens
self.pos = 0
self.current_token = self.next_token()
def translate_token(self, token):
try:
op = OPERATORS[token]…
except (KeyError, TypeError):
return self.create_var(token)
else:
return op()
def next_token(self):
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7ff3f2033430> |
token | '=' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(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("Could not parse the remainder: '=' from '='") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7ff3f75c1f70>> |
request | <WSGIRequest: GET '/it/feed/?page=5'> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/core/handlers/base.py
, line 204, 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 details at 0x7ff3f5e9faf0> |
callback_args | () |
callback_kwargs | {'slug': 'feed'} |
middleware_method | <bound method XViewMiddleware.process_view of <django.contrib.admindocs.middleware.XViewMiddleware object at 0x7ff3f636d700>> |
request | <WSGIRequest: GET '/it/feed/?page=5'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ff3f75c1f70> |
wrapped_callback | <function details at 0x7ff3f5e9faf0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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"> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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"> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/response.py
, line 65, in resolve_template
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):
return context
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | 'cms_feed.html' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/loader.py
, line 15, in get_template
Raise TemplateDoesNotExist if no such template exists.
"""
chain = []
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)…
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7ff3f75dceb0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7ff3f75dceb0>] |
template_name | 'cms_feed.html' |
using | None |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f75dceb0> |
template_name | 'cms_feed.html' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f6674fd0> |
template_name | 'cms_feed.html' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f6674f70> |
name | 'cms_feed.html' |
self | <django.template.engine.Engine object at 0x7ff3f6674fd0> |
skip | None |
tried | [] |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 'standard.html' %}\n" '{% load cms_tags %}\n' '{% load i18n %}\n' '{% load minet_tags %}\n' '\n' '\n' '{% block content %}\n' '<div class="container-fluid page-content">\n' ' \n' ' <h1>Minet Feed</h1>\n' ' \n' ' {% get_feed as feed %}\n' ' <div class="row">\n' ' <div class="col-md-6">\n' ' {% for post in feed %}\n' ' <a class="well well-feed" href="http://www.facebook.com/{{ ' 'post.fb_id }}" target="_blank">\n' ' {% if post.image %}\n' ' <img src="{{ post.image }}" class="img-responsive">\n' ' {% endif %}\n' ' <span class="feed-date">{{ post.date }}</span>\n' ' <span class="feed-description">\n' ' {{ post.description }}\n' ' </span>\n' ' </a>\n' ' {% if forloop.counter == 2 %}\n' ' </div>\n' ' <div class="col-md-6">\n' ' {% endif %}\n' ' {% endfor %}\n' ' </div>\n' ' </div>\n' ' \n' ' <div class="feed-pagination">\n' ' {% if feed.has_previous %}\n' ' <a href="?page={{ feed.previous_page_number }}" class="btn btn-primary ' 'btn-square-xl btn-back"></a>\n' ' {% endif %}\n' ' {% for page_num in adjacent_pages %}\n' ' <a href="?page={{ page_num }}" class="btn btn-primary btn-square-xl ' 'hidden-xs{% if page_num = page_number %} disabled{% endif %}">{{ page_num ' '}}</a>\n' ' {% endfor %}\n' ' {% if feed.has_next %}\n' ' <a href="?page={{ feed.next_page_number }}" class="btn btn-primary ' 'btn-square-xl btn-forward"></a>\n' ' {% endif %}\n' ' </div>\n' ' \n' ' \n' '</div>\n' '{% endblock %}\n') |
origin | <django.template.base.Origin object at 0x7ff3f2084a00> |
self | <django.template.loaders.filesystem.Loader object at 0x7ff3f6674f70> |
skip | None |
template_name | 'cms_feed.html' |
tried | [] |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f6674fd0> |
name | 'cms_feed.html' |
origin | <django.template.base.Origin object at 0x7ff3f2084a00> |
self | <django.template.base.Template object at 0x7ff3f1dfa670> |
template_string | ("{% extends 'standard.html' %}\n" '{% load cms_tags %}\n' '{% load i18n %}\n' '{% load minet_tags %}\n' '\n' '\n' '{% block content %}\n' '<div class="container-fluid page-content">\n' ' \n' ' <h1>Minet Feed</h1>\n' ' \n' ' {% get_feed as feed %}\n' ' <div class="row">\n' ' <div class="col-md-6">\n' ' {% for post in feed %}\n' ' <a class="well well-feed" href="http://www.facebook.com/{{ ' 'post.fb_id }}" target="_blank">\n' ' {% if post.image %}\n' ' <img src="{{ post.image }}" class="img-responsive">\n' ' {% endif %}\n' ' <span class="feed-date">{{ post.date }}</span>\n' ' <span class="feed-description">\n' ' {{ post.description }}\n' ' </span>\n' ' </a>\n' ' {% if forloop.counter == 2 %}\n' ' </div>\n' ' <div class="col-md-6">\n' ' {% endif %}\n' ' {% endfor %}\n' ' </div>\n' ' </div>\n' ' \n' ' <div class="feed-pagination">\n' ' {% if feed.has_previous %}\n' ' <a href="?page={{ feed.previous_page_number }}" class="btn btn-primary ' 'btn-square-xl btn-back"></a>\n' ' {% endif %}\n' ' {% for page_num in adjacent_pages %}\n' ' <a href="?page={{ page_num }}" class="btn btn-primary btn-square-xl ' 'hidden-xs{% if page_num = page_number %} disabled{% endif %}">{{ page_num ' '}}</a>\n' ' {% endfor %}\n' ' {% if feed.has_next %}\n' ' <a href="?page={{ feed.next_page_number }}" class="btn btn-primary ' 'btn-square-xl btn-forward"></a>\n' ' {% endif %}\n' ' </div>\n' ' \n' ' \n' '</div>\n' '{% endblock %}\n') |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f1dfa160> |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
self | <django.template.base.Template object at 0x7ff3f1dfa670> |
tokens | [<django.template.base.Token object at 0x7ff3f23c5730>, <django.template.base.Token object at 0x7ff3f23c58e0>, <django.template.base.Token object at 0x7ff3f23c5eb0>, <django.template.base.Token object at 0x7ff3f1e43dc0>, <django.template.base.Token object at 0x7ff3f1e43940>, <django.template.base.Token object at 0x7ff3f1e43f10>, <django.template.base.Token object at 0x7ff3f1e43880>, <django.template.base.Token object at 0x7ff3f1dd4f10>, <django.template.base.Token object at 0x7ff3f1dd43a0>, <django.template.base.Token object at 0x7ff3f1dd4580>, <django.template.base.Token object at 0x7ff3f28b1fd0>, <django.template.base.Token object at 0x7ff3f28b10a0>, <django.template.base.Token object at 0x7ff3f28b1bb0>, <django.template.base.Token object at 0x7ff3f28b1550>, <django.template.base.Token object at 0x7ff3f28b1f70>, <django.template.base.Token object at 0x7ff3f28b1b20>, <django.template.base.Token object at 0x7ff3f28b1a30>, <django.template.base.Token object at 0x7ff3f28b1940>, <django.template.base.Token object at 0x7ff3f28b17c0>, <django.template.base.Token object at 0x7ff3f28b1c40>, <django.template.base.Token object at 0x7ff3f28b1d30>, <django.template.base.Token object at 0x7ff3f21b5ca0>, <django.template.base.Token object at 0x7ff3f21b58b0>, <django.template.base.Token object at 0x7ff3f21b5730>, <django.template.base.Token object at 0x7ff3f21b5d60>, <django.template.base.Token object at 0x7ff3f21b5fd0>, <django.template.base.Token object at 0x7ff3f21b5df0>, <django.template.base.Token object at 0x7ff3f21b54c0>, <django.template.base.Token object at 0x7ff3f21b5340>, <django.template.base.Token object at 0x7ff3f1a70f10>, <django.template.base.Token object at 0x7ff3f19f6100>, <django.template.base.Token object at 0x7ff3f407c370>, <django.template.base.Token object at 0x7ff3f1b80d00>, <django.template.base.Token object at 0x7ff3f1b809a0>, <django.template.base.Token object at 0x7ff3f1b80e50>, <django.template.base.Token object at 0x7ff3f1b80bb0>, <django.template.base.Token object at 0x7ff3f1fdc550>, <django.template.base.Token object at 0x7ff3f1fdcdf0>, <django.template.base.Token object at 0x7ff3f1fdc8e0>, <django.template.base.Token object at 0x7ff3f1fdc670>, <django.template.base.Token object at 0x7ff3f25891f0>, <django.template.base.Token object at 0x7ff3f1db2d90>, <django.template.base.Token object at 0x7ff3f2f17eb0>, <django.template.base.Token object at 0x7ff3f1bb5a90>, <django.template.base.Token object at 0x7ff3f1bb5220>, <django.template.base.Token object at 0x7ff3f1bb5b20>, <django.template.base.Token object at 0x7ff3f1bb5580>, <django.template.base.Token object at 0x7ff3f1bb54c0>, <django.template.base.Token object at 0x7ff3f1bb5190>, <django.template.base.Token object at 0x7ff3f1bb5040>, <django.template.base.Token object at 0x7ff3f1bb50a0>, <django.template.base.Token object at 0x7ff3f1bb5f70>, <django.template.base.Token object at 0x7ff3f1bb5be0>, <django.template.base.Token object at 0x7ff3f1bb5c70>, <django.template.base.Token object at 0x7ff3f1bb51c0>, <django.template.base.Token object at 0x7ff3f1bb5e20>, <django.template.base.Token object at 0x7ff3f1bb5eb0>, <django.template.base.Token object at 0x7ff3f1bcef40>] |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f8ff3ee0> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f23c5730> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 0x7ff3f8ff3ee0> |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f23c5730> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/loader_tags.py
, line 278, 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', "'standard.html'"] |
parent_name | <django.template.base.FilterExpression object at 0x7ff3f1bb5520> |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f23c5730> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'block' |
compile_func | <function do_block at 0x7ff3f8ff3dc0> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3220> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1bb5490>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3370>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3220>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f1dd43a0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'block' |
compile_func | <function do_block at 0x7ff3f8ff3dc0> |
compiled_result | <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3220> |
nodelist | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1bb5490>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3370>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7ff3f1ca3220>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f1dd43a0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/loader_tags.py
, line 216, in do_block
# check for duplication.
try:
if block_name in parser.__loaded_blocks:
raise TemplateSyntaxError("'%s' tag with name '%s' appears more than once" % (bits[0], block_name))
parser.__loaded_blocks.append(block_name)
except AttributeError: # parser.__loaded_blocks isn't a list yet
parser.__loaded_blocks = [block_name]
nodelist = parser.parse(('endblock',))…
# This check is kept for backwards-compatibility. See #3100.
endblock = parser.next_token()
acceptable_endblocks = ('endblock', 'endblock %s' % block_name)
if endblock.contents not in acceptable_endblocks:
parser.invalid_block_tag(endblock, 'endblock', acceptable_endblocks)
Variable | Value |
---|---|
bits | ['block', 'content'] |
block_name | 'content' |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f1dd43a0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'for' |
compile_func | <function do_for at 0x7ff3f8ff53a0> |
compiled_result | <IfNode> |
nodelist | [<TextNode: '\n<div class="container-fl'>, <django.template.library.SimpleNode object at 0x7ff3f2190910>, <TextNode: '\n <div class="row">\n '>, <ForNode: for post in feed, tail_len: 11>, <TextNode: '\n </div>\n </div>\n \n '>, <IfNode>, <TextNode: '\n '>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f1fdc8e0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'for' |
compile_func | <function do_for at 0x7ff3f8ff53a0> |
compiled_result | <IfNode> |
nodelist | [<TextNode: '\n<div class="container-fl'>, <django.template.library.SimpleNode object at 0x7ff3f2190910>, <TextNode: '\n <div class="row">\n '>, <ForNode: for post in feed, tail_len: 11>, <TextNode: '\n </div>\n </div>\n \n '>, <IfNode>, <TextNode: '\n '>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f1fdc8e0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/defaulttags.py
, line 814, in do_for
loopvars = re.split(r' *, *', ' '.join(bits[1:in_index]))
for var in loopvars:
if not var or not invalid_chars.isdisjoint(var):
raise TemplateSyntaxError("'for' tag received an invalid argument:"
" %s" % token.contents)
sequence = parser.compile_filter(bits[in_index + 1])
nodelist_loop = parser.parse(('empty', 'endfor',))…
token = parser.next_token()
if token.contents == 'empty':
nodelist_empty = parser.parse(('endfor',))
parser.delete_first_token()
else:
nodelist_empty = None
Variable | Value |
---|---|
bits | ['for', 'page_num', 'in', 'adjacent_pages'] |
in_index | -2 |
invalid_chars | frozenset({'|', '"', "'", ' '}) |
is_reversed | False |
loopvars | ['page_num'] |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
sequence | <django.template.base.FilterExpression object at 0x7ff3f229c3d0> |
token | <django.template.base.Token object at 0x7ff3f1fdc8e0> |
var | 'page_num' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'if' |
compile_func | <function do_if at 0x7ff3f8ff58b0> |
filter_expression | <django.template.base.FilterExpression object at 0x7ff3f229ca00> |
nodelist | [<TextNode: '\n <a href="?page='>, <Variable Node: page_num>, <TextNode: '" class="btn btn-primary '>] |
parse_until | ('empty', 'endfor') |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f2f17eb0> |
var_node | <Variable Node: page_num> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/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 | 'if' |
compile_func | <function do_if at 0x7ff3f8ff58b0> |
filter_expression | <django.template.base.FilterExpression object at 0x7ff3f229ca00> |
nodelist | [<TextNode: '\n <a href="?page='>, <Variable Node: page_num>, <TextNode: '" class="btn btn-primary '>] |
parse_until | ('empty', 'endfor') |
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f2f17eb0> |
var_node | <Variable Node: page_num> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/defaulttags.py
, line 964, in do_if
All supported operators are: ``or``, ``and``, ``in``, ``not in``
``==``, ``!=``, ``>``, ``>=``, ``<`` and ``<=``.
Operator precedence follows Python.
"""
# {% if ... %}
bits = token.split_contents()[1:]
condition = TemplateIfParser(parser, bits).parse()…
nodelist = parser.parse(('elif', 'else', 'endif'))
conditions_nodelists = [(condition, nodelist)]
token = parser.next_token()
# {% elif ... %} (repeatable)
while token.contents.startswith('elif'):
Variable | Value |
---|---|
bits | ['page_num', '=', 'page_number'] |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | <django.template.base.Token object at 0x7ff3f2f17eb0> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/defaulttags.py
, line 897, in __init__
class TemplateIfParser(IfParser):
error_class = TemplateSyntaxError
def __init__(self, parser, *args, **kwargs):
self.template_parser = parser
super().__init__(*args, **kwargs)…
def create_var(self, value):
return TemplateLiteral(self.template_parser.compile_filter(value), value)
@register.tag('if')
Variable | Value |
---|---|
__class__ | <class 'django.template.defaulttags.TemplateIfParser'> |
args | (['page_num', '=', 'page_number'],) |
kwargs | {} |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
self | <django.template.defaulttags.TemplateIfParser object at 0x7ff3f2033430> |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/smartif.py
, line 166, in __init__
token = tokens[i]
if token == "is" and i + 1 < num_tokens and tokens[i + 1] == "not":
token = "is not"
i += 1 # skip 'not'
elif token == "not" and i + 1 < num_tokens and tokens[i + 1] == "in":
token = "not in"
i += 1 # skip 'in'
mapped_tokens.append(self.translate_token(token))…
i += 1
self.tokens = mapped_tokens
self.pos = 0
self.current_token = self.next_token()
Variable | Value |
---|---|
i | 1 |
mapped_tokens | [(literal <django.template.base.FilterExpression object at 0x7ff3f2033be0>)] |
num_tokens | 3 |
self | <django.template.defaulttags.TemplateIfParser object at 0x7ff3f2033430> |
token | '=' |
tokens | ['page_num', '=', 'page_number'] |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/smartif.py
, line 177, in translate_token
self.pos = 0
self.current_token = self.next_token()
def translate_token(self, token):
try:
op = OPERATORS[token]
except (KeyError, TypeError):
return self.create_var(token)…
else:
return op()
def next_token(self):
if self.pos >= len(self.tokens):
return EndToken
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7ff3f2033430> |
token | '=' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/defaulttags.py
, line 900, in create_var
error_class = TemplateSyntaxError
def __init__(self, parser, *args, **kwargs):
self.template_parser = parser
super().__init__(*args, **kwargs)
def create_var(self, value):
return TemplateLiteral(self.template_parser.compile_filter(value), value)…
@register.tag('if')
def do_if(parser, token):
"""
Evaluate a variable, and if that variable is "true" (i.e., exists, is not
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7ff3f2033430> |
value | '=' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/base.py
, line 563, in compile_filter
self.tags.update(lib.tags)
self.filters.update(lib.filters)
def compile_filter(self, token):
"""
Convenient wrapper for FilterExpression
"""
return FilterExpression(token, self)…
def find_filter(self, filter_name):
if filter_name in self.filters:
return self.filters[filter_name]
else:
raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name)
Variable | Value |
---|---|
self | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
token | '=' |
/home/mediaart/.virtualenvs/minet/lib/python3.9/site-packages/django/template/base.py
, line 662, in __init__
elif var_arg:
args.append((True, Variable(var_arg)))
filter_func = parser.find_filter(filter_name)
self.args_check(filter_name, filter_func, args)
filters.append((filter_func, args))
upto = match.end()
if upto != len(token):
raise TemplateSyntaxError("Could not parse the remainder: '%s' "…
"from '%s'" % (token[upto:], token))
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
Variable | Value |
---|---|
filters | [] |
matches | <callable_iterator object at 0x7ff3f2033160> |
parser | <django.template.base.Parser object at 0x7ff3f1bb5a00> |
self | <django.template.base.FilterExpression object at 0x7ff3f2033880> |
token | '=' |
upto | 0 |
var_obj | None |
AnonymousUser
Variable | Value |
---|---|
page | '5' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'www.minet-tv.com' |
HTTP_SCHEME | 'https' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.196.106.106, 54.196.106.106' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_PROTOCOL | 'ssl' |
HTTP_X_FORWARDED_SSL | 'on' |
HTTP_X_REAL_IP | '54.196.106.106' |
PATH_INFO | '/it/feed/' |
QUERY_STRING | 'page=5' |
RAW_URI | '/it/feed/?page=5' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.minet-tv.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <gevent._socket3.socket at 0x7ff3f2effa00 object, fd=11, family=1, type=1, proto=0> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7ff3f2386250> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7ff3f2386040> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
minet.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Philipp Zedler', 'philipp@neue-musik.com'),) |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/mediaart/minet/minet' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CMS_LANGUAGES | {1: [{'code': 'de', 'fallbacks': ['en', 'it'], 'hide_untranslated': False, 'name': 'de', 'public': True, 'redirect_on_fallback': True}, {'code': 'it', 'fallbacks': ['en', 'de'], 'hide_untranslated': False, 'name': 'it', 'public': True, 'redirect_on_fallback': True}, {'code': 'en', 'fallbacks': ['de', 'it'], 'hide_untranslated': False, 'name': 'en', 'public': True, 'redirect_on_fallback': True}], 'default': {'hide_untranslated': False, 'public': True, 'redirect_on_fallback': True}, <class 'cms.utils.conf.VERIFIED'>: True} |
CMS_PAGE_CACHE | False |
CMS_PERMISSION | False |
CMS_PLACEHOLDER_CACHE | False |
CMS_PLACEHOLDER_CONF | {'home_comparison': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['SmallerTeaser']}, 'home_content': {'language_fallback': True, 'plugins': ['Twocolumn', 'Threecolumn']}, 'home_larger_teaser_left': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['LargerTeaser']}, 'home_larger_teaser_lower_left': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['LargerTeaser']}, 'home_larger_teaser_lower_right': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['LargerTeaser']}, 'home_larger_teaser_right': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['LargerTeaser']}, 'home_with_us': {'language_fallback': True, 'limits': {'global': 1}, 'plugins': ['SmallerTeaser']}, 'opener_slider': {'language_fallback': True, 'plugins': ['SliderTeaser']}, 'page_content': {'language_fallback': True, 'plugins': ['TextPlugin', 'Video', 'TeamMemberPlugin'], 'text_only_plugins': ['LinkPlugin', 'FilerImagePlugin']}} |
CMS_PLUGIN_CACHE | False |
CMS_TEMPLATES | (('cms_page.html', 'Page'), ('cms_home.html', 'Home'), ('cms_feed.html', 'Feed')) |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter'], 'js': ['compressor.filters.jsmin.rJSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7ff3f7aa14c0> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | (('text/x-scss', 'django_libsass.SassCompiler'),) |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/mediaart/minet/minet/static' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
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.mysql', 'HOST': 'localhost', 'NAME': 'mediaart_minet', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'mediaart'}} |
DATABASE_ROUTERS | [] |
DATA_DIR | '/home/mediaart/minet/minet' |
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_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 | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EASY_SEARCH_FIELDS | ('easy_search.fields.URLField', 'easy_search.fields.TextField', 'easy_search.fields.LanguageField', 'easy_search.fields.OgImageField', 'cms_minet.easy_search_fields.ProgramField', 'cms_minet.easy_search_fields.TopicsField', 'cms_minet.easy_search_fields.MinetTitleField') |
EASY_SEARCH_INDEX_DIR | '/home/mediaart/minet/minet/searchindex' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
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 |
FACEBOOK_APP_ID | '505759132906402' |
FACEBOOK_APP_SECRET | '********************' |
FACEBOOK_PAGE_ID | '774725572605353' |
FEED_UPDATE_PATH | 'NbtjVMQAb9XESyKFKipN1o33i75wFRto' |
FILER_IMAGE_MODEL | 'filer.Image' |
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 | ('djangocms_admin_style', 'djangocms_text_ckeditor', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'compressor', 'djangocms_rosetta', 'easy_search', 'easy_thumbnails', 'filer', 'parler', 'menus', 'rosetta', 'sekizai', 'treebeard', 'djangocms_link', 'djangocms_file', 'djangocms_picture', 'djangocms_video', 'reversion', 'cms_minet', 'minet') |
INTERNAL_IPS | [] |
LANGUAGES | (('de', 'de'), ('it', 'it'), ('en', 'en')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'de' |
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 | ('/home/mediaart/minet/minet/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | (('Philipp Zedler', 'philipp@neue-musik.com'),) |
MEDIA_ROOT | '/home/mediaart/minet/minet/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.admindocs.middleware.XViewMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'minet.urls' |
ROSETTA_MESSAGES_PER_PAGE | 150 |
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 |
SELECT2_CACHE_BACKEND | 'default' |
SELECT2_CACHE_PREFIX | 'select2_' |
SELECT2_CSS | 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/css/select2.min.css' |
SELECT2_I18N_AVAILABLE_LANGUAGES | ['ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'eu', 'fa', 'fi', 'fr', 'gl', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'km', 'ko', 'lt', 'lv', 'mk', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt', 'ro', 'ru', 'sk', 'sr-Cyrl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW'] |
SELECT2_I18N_PATH | 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/i18n' |
SELECT2_JS | 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/select2.min.js' |
SELECT2_LIB_VERSION | '4.0.12' |
SERVER_EMAIL | 'server@minet-tv.com' |
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 | 'minet.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 | ('/home/mediaart/minet/minet/minet/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/mediaart/minet/minet/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/mediaart/minet/minet/minet/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'sekizai.context_processors.sekizai', 'django.template.context_processors.static', 'cms.context_processors.cms_settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEMPLATE_DEBUG | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Rome' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VIMEO_ACCESS_TOKEN | '********************' |
VIMEO_CLIENT_ID | 'f129036a5eaf13a1cece57a3597ebfa243152e54' |
VIMEO_CLIENT_SECRET | '********************' |
WSGI_APPLICATION | 'minet.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.