'sekizai_tags' is not a registered tag library. Must be one of: accounts_tags admin_list admin_modify admin_shortcuts_tags admin_urls cache comments comparison_tags django_template_additions easy_thumbnails_tags filename filer_admin_tags filer_image_tags filer_tags i18n jsonify l10n log mptt_admin mptt_tags pagination_tags patched_highlight post_office rosetta standard_form static threadedcomments_tags thumbnail trans_tags trans_url tz
Request Method: | GET |
---|---|
Request URL: | https://mynewenergy.ch/fr/thermalimage/order/ |
Django Version: | 4.0.5 |
Exception Type: | TemplateSyntaxError |
Exception Value: | 'sekizai_tags' is not a registered tag library. Must be one of: accounts_tags admin_list admin_modify admin_shortcuts_tags admin_urls cache comments comparison_tags django_template_additions easy_thumbnails_tags filename filer_admin_tags filer_image_tags filer_tags i18n jsonify l10n log mptt_admin mptt_tags pagination_tags patched_highlight post_office rosetta standard_form static threadedcomments_tags thumbnail trans_tags trans_url tz |
Exception Location: | /usr/local/lib/python3.10/site-packages/django/template/defaulttags.py, line 1029, in find_library |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.10.13 |
Python Path: | ['/code', '/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'] |
Server time: | Fri, 29 Mar 2024 12:22:38 +0000 |
In template /code/templates/thermalimage/order.html
, error at line 2
1 | {% extends base_template %} |
---|---|
2 | {% load i18n static thumbnail sekizai_tags comparison_tags %} |
3 | {% get_current_language as LANGUAGE_CODE %} |
4 | |
5 | |
6 | {% block content %} |
7 | <img class="illustration" src="{% static "img/thermalimage/header.jpg" %}" alt=""> |
8 | |
9 | <div id="thermalimage-order" class="order_form"> |
10 | <h2>{% trans "Wärmebildaufnahmen des eigenen Hauses für nur 150 CHF" %}</h2> |
11 | <div>{% trans "Ich beauftrage Sie hiermit zur Lieferung des Infrarotbilder-Pakets mit Infobroschüre zum Aktionspreis von CHF 150.-- inkl. MWST für folgendes Haus:" %}</div> |
12 | <form method="post" action="{{ request.path }}" novalidate>{% csrf_token %} |
/usr/local/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1027, 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 | 'sekizai_tags' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
/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 | TemplateSyntaxError("'sekizai_tags' is not a registered tag library. Must be one of:\naccounts_tags\nadmin_list\nadmin_modify\nadmin_shortcuts_tags\nadmin_urls\ncache\ncomments\ncomparison_tags\ndjango_template_additions\neasy_thumbnails_tags\nfilename\nfiler_admin_tags\nfiler_image_tags\nfiler_tags\ni18n\njsonify\nl10n\nlog\nmptt_admin\nmptt_tags\npagination_tags\npatched_highlight\npost_office\nrosetta\nstandard_form\nstatic\nthreadedcomments_tags\nthumbnail\ntrans_tags\ntrans_url\ntz") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f1ddcee7f70>> |
request | <WSGIRequest: GET '/fr/thermalimage/order/'> |
/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 0x7f1dd7bb9fc0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method EventlogMiddleware.process_view of <EventlogMiddleware get_response=BaseHandler._get_response>> |
request | <WSGIRequest: GET '/fr/thermalimage/order/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f1ddcee7f70> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7f1dd7bb9fc0> |
/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 | ['thermalimage/order.html'] |
/usr/local/lib/python3.10/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 0x7f1ddc1a0ca0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f1ddc1a0ca0>] |
template_name | 'thermalimage/order.html' |
template_name_list | ['thermalimage/order.html'] |
using | None |
/usr/local/lib/python3.10/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 0x7f1ddc1a0ca0> |
template_name | 'thermalimage/order.html' |
/usr/local/lib/python3.10/site-packages/django/template/engine.py
, line 176, 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 | <Engine: dirs=['templates'] app_dirs=True 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.static', 'django.template.context_processors.i18n', 'eventlog.context_processors.tracking_id_and_affiliate', 'aldryn_news.context_processors.news_categories', 'aldryn_accounts.context_processors.account_info', 'aldryn_accounts.context_processors.notifications'] debug=True loaders=['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_shortcuts_tags': 'admin_shortcuts.templatetags.admin_shortcuts_tags', 'django_template_additions': 'adminsortable.templatetags.django_template_additions', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rosetta': 'rosetta.templatetags.rosetta', 'comparison_tags': 'comparison.templatetags.comparison_tags', 'filename': 'portal.templatetags.filename', 'standard_form': 'portal.templatetags.standard_form', 'trans_tags': 'portal.templatetags.trans_tags', 'patched_highlight': 'search.templatetags.patched_highlight', 'easy_thumbnails_tags': 'easy_thumbnails.templatetags.easy_thumbnails_tags', 'thumbnail': 'easy_thumbnails.templatetags.thumbnail', 'filer_admin_tags': 'filer.templatetags.filer_admin_tags', 'filer_image_tags': 'filer.templatetags.filer_image_tags', 'filer_tags': 'filer.templatetags.filer_tags', 'mptt_admin': 'mptt.templatetags.mptt_admin', 'mptt_tags': 'mptt.templatetags.mptt_tags', 'post_office': 'post_office.templatetags.post_office', 'threadedcomments_tags': 'threadedcomments.templatetags.threadedcomments_tags', 'comments': 'django_comments.templatetags.comments', 'accounts_tags': 'aldryn_accounts.templatetags.accounts_tags', 'jsonify': 'core.templatetags.jsonify', 'pagination_tags': 'core.templatetags.pagination_tags', 'trans_url': 'core.templatetags.trans_url'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
template_name | 'thermalimage/order.html' |
/usr/local/lib/python3.10/site-packages/django/template/engine.py
, line 158, in find_template
"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 0x7f1dd7f8d240> |
name | 'thermalimage/order.html' |
self | <Engine: dirs=['templates'] app_dirs=True 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.static', 'django.template.context_processors.i18n', 'eventlog.context_processors.tracking_id_and_affiliate', 'aldryn_news.context_processors.news_categories', 'aldryn_accounts.context_processors.account_info', 'aldryn_accounts.context_processors.notifications'] debug=True loaders=['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_shortcuts_tags': 'admin_shortcuts.templatetags.admin_shortcuts_tags', 'django_template_additions': 'adminsortable.templatetags.django_template_additions', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rosetta': 'rosetta.templatetags.rosetta', 'comparison_tags': 'comparison.templatetags.comparison_tags', 'filename': 'portal.templatetags.filename', 'standard_form': 'portal.templatetags.standard_form', 'trans_tags': 'portal.templatetags.trans_tags', 'patched_highlight': 'search.templatetags.patched_highlight', 'easy_thumbnails_tags': 'easy_thumbnails.templatetags.easy_thumbnails_tags', 'thumbnail': 'easy_thumbnails.templatetags.thumbnail', 'filer_admin_tags': 'filer.templatetags.filer_admin_tags', 'filer_image_tags': 'filer.templatetags.filer_image_tags', 'filer_tags': 'filer.templatetags.filer_tags', 'mptt_admin': 'mptt.templatetags.mptt_admin', 'mptt_tags': 'mptt.templatetags.mptt_tags', 'post_office': 'post_office.templatetags.post_office', 'threadedcomments_tags': 'threadedcomments.templatetags.threadedcomments_tags', 'comments': 'django_comments.templatetags.comments', 'accounts_tags': 'aldryn_accounts.templatetags.accounts_tags', 'jsonify': 'core.templatetags.jsonify', 'pagination_tags': 'core.templatetags.pagination_tags', 'trans_url': 'core.templatetags.trans_url'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
skip | None |
tried | [] |
/usr/local/lib/python3.10/site-packages/django/template/loaders/base.py
, line 28, 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,
)
Variable | Value |
---|---|
contents | ('{% extends base_template %}\n' '{% load i18n static thumbnail sekizai_tags comparison_tags %}\n' '{% get_current_language as LANGUAGE_CODE %}\n' '\n' '\n' '{% block content %}\n' '<img class="illustration" src="{% static "img/thermalimage/header.jpg" %}" ' 'alt="">\n' '\n' '<div id="thermalimage-order" class="order_form">\n' '<h2>{% trans "Wärmebildaufnahmen des eigenen Hauses für nur 150 CHF" ' '%}</h2>\n' '<div>{% trans "Ich beauftrage Sie hiermit zur Lieferung des ' 'Infrarotbilder-Pakets mit Infobroschüre zum Aktionspreis von CHF 150.-- ' 'inkl. MWST für folgendes Haus:" %}</div>\n' '<form method="post" action="{{ request.path }}" novalidate>{% csrf_token %}\n' '{% if not tracking_cookie_set %}<input type="hidden" name="tracking_id" ' 'value="{{ tracking_id }}">{% endif %}\n' '\n' '{% for key,value in GET.items %}\n' '<input type="hidden" name="GET_{{ key }}" value="{{ value }}">{% endfor %}\n' '\n' '<div class="container">\n' ' <div class="form">\n' ' <div class="fields">\n' ' {% for field in form.standard_fields %}\n' ' <div class="field{% if field.errors %} error{% endif %}">\n' ' <div class="label">{{ field.label_tag }}{% if ' 'field.field.required %}<span class="required">*</span>{% endif %}</div>\n' ' <div class="widget">{{ field }}</div>\n' ' {{ field.errors }}\n' ' </div>\n' ' {% endfor %}\n' ' <h3>{% trans "Adresse des Objektes, falls abweichend" %}</h3>\n' ' {% for field in form.object_fields %}\n' ' <div class="field{% if field.errors %} error{% endif %}">\n' ' <div class="label">{{ field.label_tag }}{% if ' 'field.field.required %}<span class="required">*</span>{% endif %}</div>\n' ' <div class="widget">{{ field }}</div>\n' ' {{ field.errors }}\n' ' </div>\n' ' {% endfor %}\n' ' </div>\n' ' </div>{# .form #}\n' '</div>{# .container #}\n' '<div>{% trans "Die Dienstleistung wird durch unseren Partner ibih AG ' 'erbracht." %}</div>\n' '\n' '<div class="buttons">\n' '\t<div class="call-us">\n' '\t\t<div class="label">{% trans "Noch Fragen? Einfach anrufen:" %}</div>\n' '\t\t<span class="phone-number">{% trans "044 545 30 50" %}</span>\n' '\t\t<span class="business-hours">{% trans "(9-17 Uhr)" %}</span>\n' '\t</div>\n' '\t<button class="submit" type="submit" name="order" value="1">{% trans ' '"Jetzt kostenpflichtig bestellen" %}<span class="icon"></span></button>\n' '</div>\n' '\n' '</form>{# .form #}\n' '\n' '</div>{# #comparison-order #}\n' '\n' '\n' '{% addtoblock "js" %}\n' '<script src="{% static \'js/plugins/jquery.tooltip.js\' %}"></script>\n' '{% if not offer.is_full %}\n' '<script src="{% static "js/spin.min.js" %}"></script>\n' '<script src="{% static "js/form.js" %}"></script>\n' '{% endif %}\n' '<script>\n' '$(function() {\n' '\t$.fn.toggleButton = function() {\n' '\t\t/**\n' '\t\t * Convert a select box into a group of toggle buttons.\n' '\t\t */\n' '\t\tthis.each(function() {\n' '\t\t\t$this = $(this);\n' "\t\t\t$toggle = $(document.createElement('span'));\n" "\t\t\t$toggle.addClass('toggle-button-group');\n" '\t\t\t$this.children(\'[value!=""]\').each(function() {\n' '\t\t\t\tvar $option = $(this);\n' "\t\t\t\tvar $btn = $(document.createElement('span'));\n" "\t\t\t\t$btn.addClass('toggle-button');\n" '\t\t\t\t$btn.text($option.text());\n' '\t\t\t\t$btn.click(function() {\n' "\t\t\t\t\t$this.val($option.attr('value'));\n" "\t\t\t\t\t$toggle.children().removeClass('selected');\n" "\t\t\t\t\t$btn.addClass('selected');\n" '\t\t\t\t});\n' "\t\t\t\t$btn.toggleClass('selected', $option.is(':selected'));\n" '\t\t\t\t$toggle.append($btn);\n' '\t\t\t});\n' '\t\t\t$(this).after($toggle);\n' '\t\t\t// Hide select by moving it outside the visible space.\n' '\t\t\t// display:none can cause select elements to malfunction in some ' 'browsers.\n' "\t\t\tvar $hider = $(document.createElement('span'));\n" "\t\t\t$hider.css({ overflow: 'hidden' });\n" '\t\t\t$this.repla… <trimmed 5520 bytes string> |
origin | <Origin name='/code/templates/thermalimage/order.html'> |
self | <django.template.loaders.filesystem.Loader object at 0x7f1dd7f8d240> |
skip | None |
template_name | 'thermalimage/order.html' |
tried | [] |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 154, 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 __repr__(self):
Variable | Value |
---|---|
engine | <Engine: dirs=['templates'] app_dirs=True 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.static', 'django.template.context_processors.i18n', 'eventlog.context_processors.tracking_id_and_affiliate', 'aldryn_news.context_processors.news_categories', 'aldryn_accounts.context_processors.account_info', 'aldryn_accounts.context_processors.notifications'] debug=True loaders=['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_shortcuts_tags': 'admin_shortcuts.templatetags.admin_shortcuts_tags', 'django_template_additions': 'adminsortable.templatetags.django_template_additions', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'rosetta': 'rosetta.templatetags.rosetta', 'comparison_tags': 'comparison.templatetags.comparison_tags', 'filename': 'portal.templatetags.filename', 'standard_form': 'portal.templatetags.standard_form', 'trans_tags': 'portal.templatetags.trans_tags', 'patched_highlight': 'search.templatetags.patched_highlight', 'easy_thumbnails_tags': 'easy_thumbnails.templatetags.easy_thumbnails_tags', 'thumbnail': 'easy_thumbnails.templatetags.thumbnail', 'filer_admin_tags': 'filer.templatetags.filer_admin_tags', 'filer_image_tags': 'filer.templatetags.filer_image_tags', 'filer_tags': 'filer.templatetags.filer_tags', 'mptt_admin': 'mptt.templatetags.mptt_admin', 'mptt_tags': 'mptt.templatetags.mptt_tags', 'post_office': 'post_office.templatetags.post_office', 'threadedcomments_tags': 'threadedcomments.templatetags.threadedcomments_tags', 'comments': 'django_comments.templatetags.comments', 'accounts_tags': 'aldryn_accounts.templatetags.accounts_tags', 'jsonify': 'core.templatetags.jsonify', 'pagination_tags': 'core.templatetags.pagination_tags', 'trans_url': 'core.templatetags.trans_url'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
name | 'thermalimage/order.html' |
origin | <Origin name='/code/templates/thermalimage/order.html'> |
self | <Template template_string="{% extends base_temp..."> |
template_string | ('{% extends base_template %}\n' '{% load i18n static thumbnail sekizai_tags comparison_tags %}\n' '{% get_current_language as LANGUAGE_CODE %}\n' '\n' '\n' '{% block content %}\n' '<img class="illustration" src="{% static "img/thermalimage/header.jpg" %}" ' 'alt="">\n' '\n' '<div id="thermalimage-order" class="order_form">\n' '<h2>{% trans "Wärmebildaufnahmen des eigenen Hauses für nur 150 CHF" ' '%}</h2>\n' '<div>{% trans "Ich beauftrage Sie hiermit zur Lieferung des ' 'Infrarotbilder-Pakets mit Infobroschüre zum Aktionspreis von CHF 150.-- ' 'inkl. MWST für folgendes Haus:" %}</div>\n' '<form method="post" action="{{ request.path }}" novalidate>{% csrf_token %}\n' '{% if not tracking_cookie_set %}<input type="hidden" name="tracking_id" ' 'value="{{ tracking_id }}">{% endif %}\n' '\n' '{% for key,value in GET.items %}\n' '<input type="hidden" name="GET_{{ key }}" value="{{ value }}">{% endfor %}\n' '\n' '<div class="container">\n' ' <div class="form">\n' ' <div class="fields">\n' ' {% for field in form.standard_fields %}\n' ' <div class="field{% if field.errors %} error{% endif %}">\n' ' <div class="label">{{ field.label_tag }}{% if ' 'field.field.required %}<span class="required">*</span>{% endif %}</div>\n' ' <div class="widget">{{ field }}</div>\n' ' {{ field.errors }}\n' ' </div>\n' ' {% endfor %}\n' ' <h3>{% trans "Adresse des Objektes, falls abweichend" %}</h3>\n' ' {% for field in form.object_fields %}\n' ' <div class="field{% if field.errors %} error{% endif %}">\n' ' <div class="label">{{ field.label_tag }}{% if ' 'field.field.required %}<span class="required">*</span>{% endif %}</div>\n' ' <div class="widget">{{ field }}</div>\n' ' {{ field.errors }}\n' ' </div>\n' ' {% endfor %}\n' ' </div>\n' ' </div>{# .form #}\n' '</div>{# .container #}\n' '<div>{% trans "Die Dienstleistung wird durch unseren Partner ibih AG ' 'erbracht." %}</div>\n' '\n' '<div class="buttons">\n' '\t<div class="call-us">\n' '\t\t<div class="label">{% trans "Noch Fragen? Einfach anrufen:" %}</div>\n' '\t\t<span class="phone-number">{% trans "044 545 30 50" %}</span>\n' '\t\t<span class="business-hours">{% trans "(9-17 Uhr)" %}</span>\n' '\t</div>\n' '\t<button class="submit" type="submit" name="order" value="1">{% trans ' '"Jetzt kostenpflichtig bestellen" %}<span class="icon"></span></button>\n' '</div>\n' '\n' '</form>{# .form #}\n' '\n' '</div>{# #comparison-order #}\n' '\n' '\n' '{% addtoblock "js" %}\n' '<script src="{% static \'js/plugins/jquery.tooltip.js\' %}"></script>\n' '{% if not offer.is_full %}\n' '<script src="{% static "js/spin.min.js" %}"></script>\n' '<script src="{% static "js/form.js" %}"></script>\n' '{% endif %}\n' '<script>\n' '$(function() {\n' '\t$.fn.toggleButton = function() {\n' '\t\t/**\n' '\t\t * Convert a select box into a group of toggle buttons.\n' '\t\t */\n' '\t\tthis.each(function() {\n' '\t\t\t$this = $(this);\n' "\t\t\t$toggle = $(document.createElement('span'));\n" "\t\t\t$toggle.addClass('toggle-button-group');\n" '\t\t\t$this.children(\'[value!=""]\').each(function() {\n' '\t\t\t\tvar $option = $(this);\n' "\t\t\t\tvar $btn = $(document.createElement('span'));\n" "\t\t\t\t$btn.addClass('toggle-button');\n" '\t\t\t\t$btn.text($option.text());\n' '\t\t\t\t$btn.click(function() {\n' "\t\t\t\t\t$this.val($option.attr('value'));\n" "\t\t\t\t\t$toggle.children().removeClass('selected');\n" "\t\t\t\t\t$btn.addClass('selected');\n" '\t\t\t\t});\n' "\t\t\t\t$btn.toggleClass('selected', $option.is(':selected'));\n" '\t\t\t\t$toggle.append($btn);\n' '\t\t\t});\n' '\t\t\t$(this).after($toggle);\n' '\t\t\t// Hide select by moving it outside the visible space.\n' '\t\t\t// display:none can cause select elements to malfunction in some ' 'browsers.\n' "\t\t\tvar $hider = $(document.createElement('span'));\n" "\t\t\t$hider.css({ overflow: 'hidden' });\n" '\t\t\t$this.repla… <trimmed 5520 bytes string> |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 200, in compile_nodelist
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 | <DebugLexer template_string="{% extends base_temp...", verbatim=False> |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
self | <Template template_string="{% extends base_temp..."> |
tokens | [<Block token: "extends base_templat...">, <Text token: "...">, <Block token: "load i18n static thu...">, <Text token: "...">, <Block token: "get_current_language...">, <Text token: "...">, <Block token: "block content...">, <Text token: "<img class="illustr...">, <Block token: "static "img/thermali...">, <Text token: "" alt=""><div id="...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h2><div>...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</div><form method=...">, <Var token: "request.path...">, <Text token: "" novalidate>...">, <Block token: "csrf_token...">, <Text token: "...">, <Block token: "if not tracking_cook...">, <Text token: "<input type="hidden"...">, <Var token: "tracking_id...">, <Text token: "">...">, <Block token: "endif...">, <Text token: "...">, <Block token: "for key,value in GET...">, <Text token: "<input type="hidden...">, <Var token: "key...">, <Text token: "" value="...">, <Var token: "value...">, <Text token: "">...">, <Block token: "endfor...">, <Text token: "<div class="contai...">, <Block token: "for field in form.st...">, <Text token: " <div class=...">, <Block token: "if field.errors...">, <Text token: " error...">, <Block token: "endif...">, <Text token: ""> <div ...">, <Var token: "field.label_tag...">, <Block token: "if field.field.requi...">, <Text token: "<span class="require...">, <Block token: "endif...">, <Text token: "</div> <...">, <Var token: "field...">, <Text token: "</div> ...">, <Var token: "field.errors...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " <h3>...">, <Block token: "trans "Adresse des O...">, <Text token: "</h3> ...">, <Block token: "for field in form.ob...">, <Text token: " <div class=...">, <Block token: "if field.errors...">, <Text token: " error...">, <Block token: "endif...">, <Text token: ""> <div ...">, <Var token: "field.label_tag...">, <Block token: "if field.field.requi...">, <Text token: "<span class="require...">, <Block token: "endif...">, <Text token: "</div> <...">, <Var token: "field...">, <Text token: "</div> ...">, <Var token: "field.errors...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Comment token: ".form...">, <Text token: "</div>...">, <Comment token: ".container...">, <Text token: "<div>...">, <Block token: "trans "Die Dienstlei...">, <Text token: "</div><div class="...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div> <span class...">, <Block token: "trans "044 545 30 50...">, <Text token: "</span> <span clas...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "<span class="icon"><...">, <Comment token: ".form...">, <Text token: "</div>...">, <Comment token: "#comparison-order...">, <Text token: "...">, <Block token: "addtoblock "js"...">, <Text token: "<script src="...">, <Block token: "static 'js/plugins/j...">, <Text token: ""></script>...">, <Block token: "if not offer.is_full...">, <Text token: "<script src="...">, <Block token: "static "js/spin.min....">, <Text token: ""></script><script ...">, <Block token: "static "js/form.js"...">, <Text token: ""></script>...">, <Block token: "endif...">, <Text token: "<script>$(function...">, <Var token: "form.prefix...">, <Text token: "-salutation').toggle...">, <Block token: "endaddtoblock...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "block sidebar_ads...">, <Text token: "<div id="thermalima...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: " <ul> ...">, <Block token: "blocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "endblocktrans...">, <Text token: " </ul> <h3>...">, <Block token: "trans "S… <trimmed 4513 bytes string> |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 513, 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 0x7f1de19b9900> |
nodelist | [] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "extends base_templat..."> |
token_type | 2 |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 511, 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 0x7f1de19b9900> |
nodelist | [] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "extends base_templat..."> |
token_type | 2 |
/usr/local/lib/python3.10/site-packages/django/template/loader_tags.py
, line 293, 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)
Variable | Value |
---|---|
bits | ['extends', 'base_template'] |
parent_name | <FilterExpression 'base_template'> |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "extends base_templat..."> |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 513, 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 0x7f1de19e7370> |
nodelist | [<TextNode: '\n'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "load i18n static thu..."> |
token_type | 2 |
/usr/local/lib/python3.10/site-packages/django/template/base.py
, line 511, 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 0x7f1de19e7370> |
nodelist | [<TextNode: '\n'>] |
parse_until | [] |
self | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "load i18n static thu..."> |
token_type | 2 |
/usr/local/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1089, in load
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)…
parser.add_library(lib)
return LoadNode()
@register.tag
def lorem(parser, token):
Variable | Value |
---|---|
bits | ['load', 'i18n', 'static', 'thumbnail', 'sekizai_tags', 'comparison_tags'] |
lib | <django.template.library.Library object at 0x7f1dd7b6a470> |
name | 'sekizai_tags' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
token | <Block token: "load i18n static thu..."> |
/usr/local/lib/python3.10/site-packages/django/template/defaulttags.py
, line 1029, 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 | 'sekizai_tags' |
parser | <Parser tokens=[<Text token: "...">, <Block token: "endblock...">, <Text token: " </div></div>...">, <Block token: "endwith...">, <Text token: ""></a> ...">, <Block token: "static "img/thermali...">, <Text token: ""><img src="...">, <Block token: "static sample_docume...">, <Text token: " <a href="...">, <Block token: "with "docs/Musterbro...">, <Text token: "</h3> <div> ...">, <Block token: "trans "So erhalten S...">, <Text token: " </ul> <h3>...">, <Block token: "endblocktrans...">, <Text token: "<li>Mindestens sechs...">, <Block token: "blocktrans...">, <Text token: " <ul> ...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "</h3>...">, <Block token: "trans "Wärmebild Inf...">, <Text token: "<div id="thermalima...">, <Block token: "block sidebar_ads...">, <Text token: "...">, <Block token: "endblock...">, <Text token: "...">, <Block token: "endaddtoblock...">, <Text token: "-salutation').toggle...">, <Var token: "form.prefix...">, <Text token: "<script>$(function...">, <Block token: "endif...">, <Text token: ""></script>...">, <Block token: "static "js/form.js"...">, <Text token: ""></script><script ...">, <Block token: "static "js/spin.min....">, <Text token: "<script src="...">, <Block token: "if not offer.is_full...">, <Text token: ""></script>...">, <Block token: "static 'js/plugins/j...">, <Text token: "<script src="...">, <Block token: "addtoblock "js"...">, <Text token: "...">, <Comment token: "#comparison-order...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: "<span class="icon"><...">, <Block token: "trans "Jetzt kostenp...">, <Text token: "</span> </div> <bu...">, <Block token: "trans "(9-17 Uhr)"...">, <Text token: "</span> <span clas...">, <Block token: "trans "044 545 30 50...">, <Text token: "</div> <span class...">, <Block token: "trans "Noch Fragen? ...">, <Text token: "</div><div class="...">, <Block token: "trans "Die Dienstlei...">, <Text token: "<div>...">, <Comment token: ".container...">, <Text token: "</div>...">, <Comment token: ".form...">, <Text token: " </div> ...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.ob...">, <Text token: "</h3> ...">, <Block token: "trans "Adresse des O...">, <Text token: " <h3>...">, <Block token: "endfor...">, <Text token: " </div> ...">, <Var token: "field.errors...">, <Text token: "</div> ...">, <Var token: "field...">, <Text token: "</div> <...">, <Block token: "endif...">, <Text token: "<span class="require...">, <Block token: "if field.field.requi...">, <Var token: "field.label_tag...">, <Text token: ""> <div ...">, <Block token: "endif...">, <Text token: " error...">, <Block token: "if field.errors...">, <Text token: " <div class=...">, <Block token: "for field in form.st...">, <Text token: "<div class="contai...">, <Block token: "endfor...">, <Text token: "">...">, <Var token: "value...">, <Text token: "" value="...">, <Var token: "key...">, <Text token: "<input type="hidden...">, <Block token: "for key,value in GET...">, <Text token: "...">, <Block token: "endif...">, <Text token: "">...">, <Var token: "tracking_id...">, <Text token: "<input type="hidden"...">, <Block token: "if not tracking_cook...">, <Text token: "...">, <Block token: "csrf_token...">, <Text token: "" novalidate>...">, <Var token: "request.path...">, <Text token: "</div><form method=...">, <Block token: "trans "Ich beauftrag...">, <Text token: "</h2><div>...">, <Block token: "trans "Wärmebildaufn...">, <Text token: "" alt=""><div id="...">… <trimmed 4299 bytes string> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'mynewenergy.ch,mynewenergy.ch' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '23.22.236.90' |
HTTP_X_FORWARDED_HOST | 'mynewenergy.ch' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '23.22.236.90' |
PATH_INFO | '/fr/thermalimage/order/' |
QUERY_STRING | '' |
RAW_URI | '/fr/thermalimage/order/' |
REMOTE_ADDR | '172.18.0.8' |
REMOTE_PORT | '43532' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.0.7', 8000), raddr=('172.18.0.8', 43532)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f1dd6fa8cd0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f1dd6fa8d60> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
core.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Christina Marchand', 'christina.marchand@gmail.com'), ('Bohdan Marchenko', 'bogdan.marko@gmail.com')) |
ADMIN_SHORTCUTS | [{'shortcuts': [{'open_new_window': True, 'url': '/'}, {'title': 'Fichiers', 'url_name': 'admin:filer_folder_changelist'}, {'title': 'Utilisateurs', 'url': '/admin/aldryn_accounts/userproxy/', 'url_name': 'admin:auth_user_changelist'}, {'title': 'GeoData', 'url_name': ['admin:app_list', 'geodata']}, {'title': 'myNewEnergy', 'url_name': ['admin:app_list', 'myne']}, {'title': 'Produits', 'url_name': ['admin:app_list', 'products']}, {'title': 'CRM', 'url_name': ['admin:app_list', 'crm']}]}, {'shortcuts': [{'class': 'user', 'count': 'core.count_functions.count_contacts', 'count_new': 'core.count_functions.count_new_contacts', 'title': 'Contacts', 'url_name': 'admin:crm_contact_changelist'}, {'count': 'core.count_functions.count_products', 'title': 'Produits', 'url_name': 'admin:products_product_changelist'}, {'count': 'core.count_functions.count_productversions', 'count_new': 'core.count_functions.count_new_productversions', 'title': 'Version du produit', 'url_name': 'admin:products_productversion_changelist'}, {'count': 'core.count_functions.count_providers', 'title': 'Fournisseur', 'url_name': 'admin:products_provider_changelist'}, {'count': 'core.count_functions.count_orders', 'title': 'Affichage', 'url_name': 'admin:products_order_changelist'}, {'count': 'core.count_functions.count_events', 'title': 'événement', 'url_name': 'admin:eventlog_event_changelist'}], 'title': 'myNewEnergy'}] |
ALDRYN_ACCOUNTS_AUTOCONFIGURE | True |
ALDRYN_ACCOUNTS_EMAIL_CONFIRMATION_EMAIL | True |
ALDRYN_ACCOUNTS_EMAIL_CONFIRMATION_EXPIRE_DAYS | 3 |
ALDRYN_ACCOUNTS_EMAIL_CONFIRMATION_REQUIRED | True |
ALDRYN_ACCOUNTS_ENABLE_NOTIFICATIONS | True |
ALDRYN_ACCOUNTS_LOGIN_REDIRECT_URL | '/' |
ALDRYN_ACCOUNTS_NOTIFY_PASSWORD_CHANGE | '********************' |
ALDRYN_ACCOUNTS_OPEN_SIGNUP | True |
ALDRYN_ACCOUNTS_PASSWORD_CHANGE_REDIRECT_URL | '********************' |
ALDRYN_ACCOUNTS_PROFILE_IMAGE_UPLOAD_TO | 'profile-data' |
ALDRYN_ACCOUNTS_SIGNUP_REDIRECT_URL | 'accounts_profile' |
ALDRYN_ACCOUNTS_SUPPORT_EMAIL | 'kontakt@myNewEnergy.ch' |
ALDRYN_ACCOUNTS_USER_DISPLAY_FALLBACK_TO_PK | False |
ALDRYN_ACCOUNTS_USER_DISPLAY_FALLBACK_TO_USERNAME | False |
ALDRYN_ACCOUNTS_USE_PROFILE_APPHOOKS | False |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend', 'aldryn_accounts.auth_backends.PermissionBackend', 'aldryn_accounts.auth_backends.EmailBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/code') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_BASEPATH | '/static/ckeditor/ckeditor/' |
CKEDITOR_FILENAME_GENERATOR | 'utils.get_filename' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
COMMENTS_APP | 'threadedcomments' |
COMPARIS_ENVIRONMENT | 'dev' |
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', 'HOST': 'postgres', 'NAME': 'myne', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'myne'}} |
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_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 | 'minio_storage.storage.MinioMediaStorage' |
DEFAULT_FROM_EMAIL | 'kontakt@myNewEnergy.ch' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.mailbox.org' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'website@mynewenergy.ch' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_SYSTEM_ORDER | 'system_portal@mynewenergy.ch' |
EMAIL_SYSTEM_PORTAL | 'system_order@mynewenergy.ch' |
EMAIL_SYSTEM_TEST | 'system_test@mynewenergy.ch' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
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' |
HAYSTACK_CONNECTIONS | {'de': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/code/whoosh_index/de'}, 'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/code/whoosh_index/default'}, 'fr': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/code/whoosh_index/fr'}, 'it': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/code/whoosh_index/it'}} |
HAYSTACK_CUSTOM_HIGHLIGHTER | 'search.highlighter.Highlighter' |
HAYSTACK_DEFAULT_LANGUAGE | 'en' |
HAYSTACK_ROUTERS | ['search.routers.LanguageRouter'] |
HAYSTACK_SIGNAL_PROCESSOR | 'search.signals.RealtimeDeleteOnlySignalProcessor' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['modeltranslation', 'admin_shortcuts', 'adminsortable', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'rosetta', 'comparison', 'crm', 'eventlog', 'geodata', 'myne', 'portal', 'products', 'search', 'thermalimage', 'easy_thumbnails', 'filer', 'mptt', 'post_office', 'threadedcomments', 'django_comments', 'django.contrib.sites', 'libs.hvad', 'aldryn_news', 'aldryn_accounts', 'aldryn_faq', 'whitelabel', 'core', 'frontend', 'ckeditor', 'minio_storage'] |
INTERNAL_IPS | [] |
LANGUAGES | (('de', 'Allemand'), ('fr', 'Français'), ('it', 'Italien')) |
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 | ['/code/locale', '/code/aldryn_accounts/locale', '/code/aldryn_news/locale'] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | (('Christina Marchand', 'christina.marchand@gmail.com'), ('Bohdan Marchenko', 'bogdan.marko@gmail.com')) |
MEDIA_ROOT | '' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.locale.LocaleMiddleware', 'eventlog.middleware.RequestThreadVariableMiddleware', 'eventlog.middleware.EventlogMiddleware'] |
MIGRATION_MODULES | {} |
MINIO_STORAGE_ACCESS_KEY | '********************' |
MINIO_STORAGE_AUTO_CREATE_MEDIA_BUCKET | True |
MINIO_STORAGE_AUTO_CREATE_STATIC_BUCKET | True |
MINIO_STORAGE_ENDPOINT | 'minio:9000' |
MINIO_STORAGE_MEDIA_BUCKET_NAME | 'media' |
MINIO_STORAGE_MEDIA_URL | 'https://mynewenergy.ch/media' |
MINIO_STORAGE_SECRET_KEY | '********************' |
MINIO_STORAGE_STATIC_BUCKET_NAME | 'static' |
MINIO_STORAGE_STATIC_URL | 'https://mynewenergy.ch/static' |
MINIO_STORAGE_USE_HTTPS | False |
MODELTRANSLATION_CUSTOM_FIELDS | ('JSONField',) |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'core.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 | ('HTTP_X_FORWARDED_PROTO', 'https') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'django@5d972071974e' |
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 | 'core.serializers.ZoneInfoJSONSerializer' |
SETTINGS_MODULE | 'core.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'minio_storage.storage.MinioStaticStorage' |
STATIC_ROOT | './static_files/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['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.static', 'django.template.context_processors.i18n', 'eventlog.context_processors.tracking_id_and_affiliate', 'aldryn_news.context_processors.news_categories', 'aldryn_accounts.context_processors.account_info', 'aldryn_accounts.context_processors.notifications']}}] |
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 | 'UTC' |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | True |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'core.wsgi.application' |
XS_SHARING_ALLOWED_METHODS | ['POST', 'GET', 'OPTIONS', 'PUT', 'DELETE'] |
X_FRAME_OPTIONS | 'ALLOWALL' |
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.