Could not parse the remainder: '-press' from 'trans-press'
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:9001/cd/ |
Django Version: | 2.2.8 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '-press' from 'trans-press' |
Exception Location: | /home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py in __init__, line 662 |
Python Executable: | /home/gilbo/mintz_venv/bin/python3.8 |
Python Version: | 3.8.10 |
Python Path: | ['/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../', '/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo', '/home/gilbo/mintz_venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/gilbo/mintz_venv/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 12:37:01 +0000 |
In template /home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/templates/simple/cd.html
, error at line 106
96 | </div> |
---|---|
97 | </div> |
98 | {% endblock %} |
99 | |
100 | |
101 | {% block custom-footer-content111 %} |
102 | <div class="q-wrapper"> |
103 | <div class="q-container"> |
104 | <div class="q-logo"> |
105 | <p class="q-title"> |
106 | {{ trans-press }} |
107 | </p> |
108 | </div> |
109 | <div class="quote-text"> |
110 | <div class="zitats"> |
111 | <span class="rotate"> |
112 | {% for zitat in zitats %} |
113 | {{ zitat.text }} {{ zitat|last:zitats }} |
114 | {% endfor %} |
115 | </span> |
116 | </div> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@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: '-press' from 'trans-press'") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ffd7b2220>> |
request | <WSGIRequest: GET '/cd/'> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function cd at 0x7f6ffd5dfe50> |
callback_args | () |
callback_kwargs | {} |
request | <WSGIRequest: GET '/cd/'> |
resolver | <URLResolver 'gilbo.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=simple.views.cd, args=(), kwargs={}, url_name=cd, app_names=[], namespaces=[], route=^cd/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ffd7b2220> |
wrapped_callback | <function cd at 0x7f6ffd5dfe50> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function cd at 0x7f6ffd5dfe50> |
callback_args | () |
callback_kwargs | {} |
request | <WSGIRequest: GET '/cd/'> |
resolver | <URLResolver 'gilbo.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=simple.views.cd, args=(), kwargs={}, url_name=cd, app_names=[], namespaces=[], route=^cd/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ffd7b2220> |
wrapped_callback | <function cd at 0x7f6ffd5dfe50> |
/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../simple/views.py
in cd
context_dict['news'] = news
zitats = Presse.objects.filter(sites__id__exact=settings.SITE_ID, use_in_rotator=True).order_by('order')
context_dict['zitats'] = zitats
context_dict['menu_items'] = menu_items
context_dict['active_menu_items'] = ['/cd/', '/media/']
return render(request, 'simple/cd.html', context_dict)…
def images(request):
context = RequestContext(request)
context_dict = {}
translation = Translation.objects.all()[0]
Variable | Value |
---|---|
cds | <MultilingualQuerySet [<CD: SONY MUSIC>]> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}] |
context_dict | {'active_menu_items': ['/cd/', '/media/'], 'cds': <MultilingualQuerySet [<CD: SONY MUSIC>]>, 'menu_items': <MultilingualQuerySet [<MenuItem: home>, <MenuItem: news>, <MenuItem: portrait>, <MenuItem: concerts>, <MenuItem: contact us>]>, 'news': <MultilingualQuerySet []>, 'trans': <Translation: Philharmonia Frankfurt>, 'zitats': <QuerySet [<Presse: Fabio di Càsola's performances are dazzling and Juri Gilbo's persuasive partnership in slow movements is romantic in the best Weberian operatic style. The twirly-whirly Menuetto capriccio of the arranged Quintet is deliciously done, and the closing gioioso is wonderfully infectious.>, <Presse: Juri Gilbo and his orchestra gave the music their Russian soul and so won the hearts of the Germans. An unforgettable event!>, <Presse: Juri Gilbo is undoubtedly a discovery and perhaps even the best, that the renowned St. Petersburger School has brought to the world in the last years! The concert was an unforgettable experience of pure music!>, <Presse: Schostakowitschs Kammersymphonie war der Einstieg in einen eindrucksvollen Konzertabend. Unter der Leitung des Dirigenten Juri Gilbo präsentierten die russischen Musiker den andächtig lauschenden Zuhörern einen wahren Musikgenuss. >, <Presse: Die Russische Kammerphilharmonie St. Petersburg unter Juri Gilbo war hörbar mit romantischer Musik gut vertraut. Ein großer Abend, sehr viel Applaus.>, <Presse: Solist Michel Gershwin und das Streichorchester unter Juri Gilbo lieben dabei die Feinzeichnung. Sie ziselieren Melodienlinien, weben hauchdünne Klanggespinste und servieren Pointen wie duftige Soufflés. Ein künstlerisch gediegener Abschluss für den Oberstdorfer Musiksommer. >, <Presse: Draußen schneite es in dicken flocken. Doch die Russische Kammerphilharmonie unter Leitung von Juri Gilbo hatte wohl eher eine warme, sternenglänzende Sommernacht im Sinn und zelebrierte ein Fest für winterlich abgestumpfte Sinne. >, <Presse: Ein runder, voller, wie mit einem gemeinsamen melodischen Atemzug phrasierter Streicherklang, expressiv gestaltete Melodik und souveräne Koordination der Einsätze durch Orchesterleiter Juri Gilbo mit klar definierten, präzisen musikalischen Regieanweisungen. >, <Presse: Juri Gilbo und sein Orchester legten ihre russische Seele in die Musik und gewannen so unsere deutschen Herzen. Also doch ein unvergessliches Ereignis!>, <Presse: The Russian Chamber Philharmonic St Petersburg have the character of a group of individual virtuosi all playing as one. Juri Gilbo’s direction is secure without ever getting in the way: his reading seems designed to echo Weber’s famous inspiration from nature, freeing the music to evoke landscapes and, indeed, whole worlds.>]>} |
menu_items | <MultilingualQuerySet [<MenuItem: home>, <MenuItem: news>, <MenuItem: portrait>, <MenuItem: concerts>, <MenuItem: contact us>]> |
news | <MultilingualQuerySet []> |
request | <WSGIRequest: GET '/cd/'> |
translation | <Translation: Philharmonia Frankfurt> |
zitats | <QuerySet [<Presse: Fabio di Càsola's performances are dazzling and Juri Gilbo's persuasive partnership in slow movements is romantic in the best Weberian operatic style. The twirly-whirly Menuetto capriccio of the arranged Quintet is deliciously done, and the closing gioioso is wonderfully infectious.>, <Presse: Juri Gilbo and his orchestra gave the music their Russian soul and so won the hearts of the Germans. An unforgettable event!>, <Presse: Juri Gilbo is undoubtedly a discovery and perhaps even the best, that the renowned St. Petersburger School has brought to the world in the last years! The concert was an unforgettable experience of pure music!>, <Presse: Schostakowitschs Kammersymphonie war der Einstieg in einen eindrucksvollen Konzertabend. Unter der Leitung des Dirigenten Juri Gilbo präsentierten die russischen Musiker den andächtig lauschenden Zuhörern einen wahren Musikgenuss. >, <Presse: Die Russische Kammerphilharmonie St. Petersburg unter Juri Gilbo war hörbar mit romantischer Musik gut vertraut. Ein großer Abend, sehr viel Applaus.>, <Presse: Solist Michel Gershwin und das Streichorchester unter Juri Gilbo lieben dabei die Feinzeichnung. Sie ziselieren Melodienlinien, weben hauchdünne Klanggespinste und servieren Pointen wie duftige Soufflés. Ein künstlerisch gediegener Abschluss für den Oberstdorfer Musiksommer. >, <Presse: Draußen schneite es in dicken flocken. Doch die Russische Kammerphilharmonie unter Leitung von Juri Gilbo hatte wohl eher eine warme, sternenglänzende Sommernacht im Sinn und zelebrierte ein Fest für winterlich abgestumpfte Sinne. >, <Presse: Ein runder, voller, wie mit einem gemeinsamen melodischen Atemzug phrasierter Streicherklang, expressiv gestaltete Melodik und souveräne Koordination der Einsätze durch Orchesterleiter Juri Gilbo mit klar definierten, präzisen musikalischen Regieanweisungen. >, <Presse: Juri Gilbo und sein Orchester legten ihre russische Seele in die Musik und gewannen so unsere deutschen Herzen. Also doch ein unvergessliches Ereignis!>, <Presse: The Russian Chamber Philharmonic St Petersburg have the character of a group of individual virtuosi all playing as one. Juri Gilbo’s direction is secure without ever getting in the way: his reading seems designed to echo Weber’s famous inspiration from nature, freeing the music to evoke landscapes and, indeed, whole worlds.>]> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'active_menu_items': ['/cd/', '/media/'], 'cds': <MultilingualQuerySet [<CD: SONY MUSIC>]>, 'menu_items': <MultilingualQuerySet [<MenuItem: home>, <MenuItem: news>, <MenuItem: portrait>, <MenuItem: concerts>, <MenuItem: contact us>]>, 'news': <MultilingualQuerySet []>, 'trans': <Translation: Philharmonia Frankfurt>, 'zitats': <QuerySet [<Presse: Fabio di Càsola's performances are dazzling and Juri Gilbo's persuasive partnership in slow movements is romantic in the best Weberian operatic style. The twirly-whirly Menuetto capriccio of the arranged Quintet is deliciously done, and the closing gioioso is wonderfully infectious.>, <Presse: Juri Gilbo and his orchestra gave the music their Russian soul and so won the hearts of the Germans. An unforgettable event!>, <Presse: Juri Gilbo is undoubtedly a discovery and perhaps even the best, that the renowned St. Petersburger School has brought to the world in the last years! The concert was an unforgettable experience of pure music!>, <Presse: Schostakowitschs Kammersymphonie war der Einstieg in einen eindrucksvollen Konzertabend. Unter der Leitung des Dirigenten Juri Gilbo präsentierten die russischen Musiker den andächtig lauschenden Zuhörern einen wahren Musikgenuss. >, <Presse: Die Russische Kammerphilharmonie St. Petersburg unter Juri Gilbo war hörbar mit romantischer Musik gut vertraut. Ein großer Abend, sehr viel Applaus.>, <Presse: Solist Michel Gershwin und das Streichorchester unter Juri Gilbo lieben dabei die Feinzeichnung. Sie ziselieren Melodienlinien, weben hauchdünne Klanggespinste und servieren Pointen wie duftige Soufflés. Ein künstlerisch gediegener Abschluss für den Oberstdorfer Musiksommer. >, <Presse: Draußen schneite es in dicken flocken. Doch die Russische Kammerphilharmonie unter Leitung von Juri Gilbo hatte wohl eher eine warme, sternenglänzende Sommernacht im Sinn und zelebrierte ein Fest für winterlich abgestumpfte Sinne. >, <Presse: Ein runder, voller, wie mit einem gemeinsamen melodischen Atemzug phrasierter Streicherklang, expressiv gestaltete Melodik und souveräne Koordination der Einsätze durch Orchesterleiter Juri Gilbo mit klar definierten, präzisen musikalischen Regieanweisungen. >, <Presse: Juri Gilbo und sein Orchester legten ihre russische Seele in die Musik und gewannen so unsere deutschen Herzen. Also doch ein unvergessliches Ereignis!>, <Presse: The Russian Chamber Philharmonic St Petersburg have the character of a group of individual virtuosi all playing as one. Juri Gilbo’s direction is secure without ever getting in the way: his reading seems designed to echo Weber’s famous inspiration from nature, freeing the music to evoke landscapes and, indeed, whole worlds.>]>} |
request | <WSGIRequest: GET '/cd/'> |
status | None |
template_name | 'simple/cd.html' |
using | None |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/loader.py
in render_to_string
Load a template and render it with a context. Return a string.
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)…
return template.render(context, request)
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'active_menu_items': ['/cd/', '/media/'], 'cds': <MultilingualQuerySet [<CD: SONY MUSIC>]>, 'menu_items': <MultilingualQuerySet [<MenuItem: home>, <MenuItem: news>, <MenuItem: portrait>, <MenuItem: concerts>, <MenuItem: contact us>]>, 'news': <MultilingualQuerySet []>, 'trans': <Translation: Philharmonia Frankfurt>, 'zitats': <QuerySet [<Presse: Fabio di Càsola's performances are dazzling and Juri Gilbo's persuasive partnership in slow movements is romantic in the best Weberian operatic style. The twirly-whirly Menuetto capriccio of the arranged Quintet is deliciously done, and the closing gioioso is wonderfully infectious.>, <Presse: Juri Gilbo and his orchestra gave the music their Russian soul and so won the hearts of the Germans. An unforgettable event!>, <Presse: Juri Gilbo is undoubtedly a discovery and perhaps even the best, that the renowned St. Petersburger School has brought to the world in the last years! The concert was an unforgettable experience of pure music!>, <Presse: Schostakowitschs Kammersymphonie war der Einstieg in einen eindrucksvollen Konzertabend. Unter der Leitung des Dirigenten Juri Gilbo präsentierten die russischen Musiker den andächtig lauschenden Zuhörern einen wahren Musikgenuss. >, <Presse: Die Russische Kammerphilharmonie St. Petersburg unter Juri Gilbo war hörbar mit romantischer Musik gut vertraut. Ein großer Abend, sehr viel Applaus.>, <Presse: Solist Michel Gershwin und das Streichorchester unter Juri Gilbo lieben dabei die Feinzeichnung. Sie ziselieren Melodienlinien, weben hauchdünne Klanggespinste und servieren Pointen wie duftige Soufflés. Ein künstlerisch gediegener Abschluss für den Oberstdorfer Musiksommer. >, <Presse: Draußen schneite es in dicken flocken. Doch die Russische Kammerphilharmonie unter Leitung von Juri Gilbo hatte wohl eher eine warme, sternenglänzende Sommernacht im Sinn und zelebrierte ein Fest für winterlich abgestumpfte Sinne. >, <Presse: Ein runder, voller, wie mit einem gemeinsamen melodischen Atemzug phrasierter Streicherklang, expressiv gestaltete Melodik und souveräne Koordination der Einsätze durch Orchesterleiter Juri Gilbo mit klar definierten, präzisen musikalischen Regieanweisungen. >, <Presse: Juri Gilbo und sein Orchester legten ihre russische Seele in die Musik und gewannen so unsere deutschen Herzen. Also doch ein unvergessliches Ereignis!>, <Presse: The Russian Chamber Philharmonic St Petersburg have the character of a group of individual virtuosi all playing as one. Juri Gilbo’s direction is secure without ever getting in the way: his reading seems designed to echo Weber’s famous inspiration from nature, freeing the music to evoke landscapes and, indeed, whole worlds.>]>} |
request | <WSGIRequest: GET '/cd/'> |
template_name | 'simple/cd.html' |
using | None |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/loader.py
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 0x7f6ffd50b2e0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f6ffd50b2e0>] |
template_name | 'simple/cd.html' |
using | None |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/backends/django.py
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 0x7f6ffd50b2e0> |
template_name | 'simple/cd.html' |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/engine.py
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 0x7f6ffd51e8e0> |
template_name | 'simple/cd.html' |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/engine.py
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 0x7f6ffd50bb20> |
name | 'simple/cd.html' |
self | <django.template.engine.Engine object at 0x7f6ffd51e8e0> |
skip | None |
tried | [] |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/loaders/base.py
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 | ('\n' '\n' '{% extends "simple/base.common-page.html" %}\n' '\n' '{% load static %}\n' '{% load i18n %}\n' '{% load simple_extras %}\n' '\n' '{% block css-pre-extras %}\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.carousel.css\' %}"/>\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.animate.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.carousel.skins.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/magnific-popup/magnific-popup.css\'%}" />\n' ' <!-- MEGAFOLIO PRO GALLERY CSS SETTINGS -->\n' ' <link rel="stylesheet" href="{% static ' '\'common/megafolio/fancybox/jquery.fancybox.css\' %}" type="text/css" ' 'media="screen" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/megafolio/css/settings.css\' %}" media="screen" />\n' '{% endblock %}\n' '\n' '{% block css-sub-sub-extras %}\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/css/simpletextrotator.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/aktuell.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/portrait.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/cd.css\' %}" />\n' '{% endblock %}\n' '\n' '{% block extra-script-includes %}\n' ' <!--SIMPLE TEXTROTATOR JS FILES-->\n' ' <script type="text/javascript" src="{% static ' '\'common/js/jquery.simple-text-rotator.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'common/utilcarousel/jquery.utilcarousel.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'common/megafolio/fancybox/jquery.fancybox.pack.js\' %}"></script>\n' '{% endblock %}\n' '\n' '{% block script-extras %}\n' ' $(document).ready(function(){\n' ' $(".zitats .rotate").textrotator({\n' ' animation: "fade",\n' ' separator: "@@",\n' ' speed: 10000\n' ' });\n' ' })\n' '{% endblock %}\n' '\n' '{% block page-content %}\n' ' <!--<div class="cd-entry">\n' ' <img src="{% static \'rksp/images/intro/cd_cover.jpg\' %}"/>\n' ' <div class="cd-text">\n' ' Lorem ipsum dolor sit amet, consectetur adipiscing elit,\n' ' sed do eiusmod tempor incididunt ut labore et dolore\n' ' magna aliqua. Ut enim ad minim veniam, quis nostrud\n' ' exercitation ullamco laboris nisi ut aliquip ex ea\n' ' commodo consequat.\n' ' </div>\n' ' </div>-->\n' ' {% for cd in cds %}\n' ' <div class="cd-entry">\n' ' <figure>\n' ' <p><img src="{{ cd.image.url }}" alt="{{ cd.title }}" ' '/></p>\n' ' <figcaption>{{ cd.title }}</figcaption>\n' ' </figure>\n' ' <div class="cd-text">\n' ' {% autoescape off %}\n' ' {{ cd.description }}\n' ' {% endautoescape %}\n' ' </div>\n' ' </div>\n' ' {% endfor %}\n' '{% endblock %}\n' '\n' '\n' '{% block custom-footer-content %}\n' ' <div class="q-wrapper">\n' ' <div class="q-container">\n' ' <div class="q-logo">\n' ' <p class="q-title">\n' ' {{ trans.press }}\n' ' </p>\n' ' </div>\n' ' <div class="quote-text">\n' ' <div class="zitats">\n' ' <span class="rotate">\n' ' {% for zitat in zitats %}\n' ' {{ zitat.text }} {{ zitat|last:zitats }}\n' ' {% endfor %}\n' ' </span>\n' ' </div>\n' ' </div>\n' ' <div class="q-author">\n' ' <div class="zitats">\n' ' <span class="rotate">\n' ' … <trimmed 7401 bytes string> |
origin | <django.template.base.Origin object at 0x7f6ffce7f940> |
self | <django.template.loaders.filesystem.Loader object at 0x7f6ffd50bb20> |
skip | None |
template_name | 'simple/cd.html' |
tried | [] |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffd51e8e0> |
name | 'simple/cd.html' |
origin | <django.template.base.Origin object at 0x7f6ffce7f940> |
self | <django.template.base.Template object at 0x7f6ffce7fa00> |
template_string | ('\n' '\n' '{% extends "simple/base.common-page.html" %}\n' '\n' '{% load static %}\n' '{% load i18n %}\n' '{% load simple_extras %}\n' '\n' '{% block css-pre-extras %}\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.carousel.css\' %}"/>\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.animate.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/utilcarousel/util.carousel.skins.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/magnific-popup/magnific-popup.css\'%}" />\n' ' <!-- MEGAFOLIO PRO GALLERY CSS SETTINGS -->\n' ' <link rel="stylesheet" href="{% static ' '\'common/megafolio/fancybox/jquery.fancybox.css\' %}" type="text/css" ' 'media="screen" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/megafolio/css/settings.css\' %}" media="screen" />\n' '{% endblock %}\n' '\n' '{% block css-sub-sub-extras %}\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'common/css/simpletextrotator.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/aktuell.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/portrait.css\' %}" />\n' ' <link rel="stylesheet" type="text/css" href="{% static ' '\'gilbo/css/cd.css\' %}" />\n' '{% endblock %}\n' '\n' '{% block extra-script-includes %}\n' ' <!--SIMPLE TEXTROTATOR JS FILES-->\n' ' <script type="text/javascript" src="{% static ' '\'common/js/jquery.simple-text-rotator.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'common/utilcarousel/jquery.utilcarousel.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'common/megafolio/fancybox/jquery.fancybox.pack.js\' %}"></script>\n' '{% endblock %}\n' '\n' '{% block script-extras %}\n' ' $(document).ready(function(){\n' ' $(".zitats .rotate").textrotator({\n' ' animation: "fade",\n' ' separator: "@@",\n' ' speed: 10000\n' ' });\n' ' })\n' '{% endblock %}\n' '\n' '{% block page-content %}\n' ' <!--<div class="cd-entry">\n' ' <img src="{% static \'rksp/images/intro/cd_cover.jpg\' %}"/>\n' ' <div class="cd-text">\n' ' Lorem ipsum dolor sit amet, consectetur adipiscing elit,\n' ' sed do eiusmod tempor incididunt ut labore et dolore\n' ' magna aliqua. Ut enim ad minim veniam, quis nostrud\n' ' exercitation ullamco laboris nisi ut aliquip ex ea\n' ' commodo consequat.\n' ' </div>\n' ' </div>-->\n' ' {% for cd in cds %}\n' ' <div class="cd-entry">\n' ' <figure>\n' ' <p><img src="{{ cd.image.url }}" alt="{{ cd.title }}" ' '/></p>\n' ' <figcaption>{{ cd.title }}</figcaption>\n' ' </figure>\n' ' <div class="cd-text">\n' ' {% autoescape off %}\n' ' {{ cd.description }}\n' ' {% endautoescape %}\n' ' </div>\n' ' </div>\n' ' {% endfor %}\n' '{% endblock %}\n' '\n' '\n' '{% block custom-footer-content %}\n' ' <div class="q-wrapper">\n' ' <div class="q-container">\n' ' <div class="q-logo">\n' ' <p class="q-title">\n' ' {{ trans.press }}\n' ' </p>\n' ' </div>\n' ' <div class="quote-text">\n' ' <div class="zitats">\n' ' <span class="rotate">\n' ' {% for zitat in zitats %}\n' ' {{ zitat.text }} {{ zitat|last:zitats }}\n' ' {% endfor %}\n' ' </span>\n' ' </div>\n' ' </div>\n' ' <div class="q-author">\n' ' <div class="zitats">\n' ' <span class="rotate">\n' ' … <trimmed 7401 bytes string> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffce7f430> |
parser | <django.template.base.Parser object at 0x7f6ffce7fc40> |
self | <django.template.base.Template object at 0x7f6ffce7fa00> |
tokens | [<django.template.base.Token object at 0x7f6ffd2b4df0>, <django.template.base.Token object at 0x7f6ffd2b4340>, <django.template.base.Token object at 0x7f6ffd2b4610>, <django.template.base.Token object at 0x7f6ffd2b4b50>, <django.template.base.Token object at 0x7f6ffd2b4d00>, <django.template.base.Token object at 0x7f6ffd2b4a60>, <django.template.base.Token object at 0x7f6ffd2496d0>, <django.template.base.Token object at 0x7f6ffcf9aa60>, <django.template.base.Token object at 0x7f6ffcf9aeb0>, <django.template.base.Token object at 0x7f6ffd2a2250>, <django.template.base.Token object at 0x7f6ffd482c70>, <django.template.base.Token object at 0x7f6ffd482bb0>, <django.template.base.Token object at 0x7f6ffd482790>, <django.template.base.Token object at 0x7f6ffd482d90>, <django.template.base.Token object at 0x7f6ffd482cd0>, <django.template.base.Token object at 0x7f6ffd482e20>, <django.template.base.Token object at 0x7f6ffd482b80>, <django.template.base.Token object at 0x7f6ffd482ee0>, <django.template.base.Token object at 0x7f6ffd482be0>, <django.template.base.Token object at 0x7f6ffd482ca0>, <django.template.base.Token object at 0x7f6ffd482a00>, <django.template.base.Token object at 0x7f6ffd31e130>, <django.template.base.Token object at 0x7f6ffd39a970>, <django.template.base.Token object at 0x7f6ffd1e2460>, <django.template.base.Token object at 0x7f6ffd1e27c0>, <django.template.base.Token object at 0x7f6ffd1e2d00>, <django.template.base.Token object at 0x7f6ffd1e2fa0>, <django.template.base.Token object at 0x7f6ffd1e2a60>, <django.template.base.Token object at 0x7f6ffd1e2280>, <django.template.base.Token object at 0x7f6ffd1e22e0>, <django.template.base.Token object at 0x7f6ffd1e2e50>, <django.template.base.Token object at 0x7f6ffd0bfaf0>, <django.template.base.Token object at 0x7f6ffd0bf100>, <django.template.base.Token object at 0x7f6ffd17b190>, <django.template.base.Token object at 0x7f6ffd17b1c0>, <django.template.base.Token object at 0x7f6ffd17b0d0>] |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffde9fe50> |
nodelist | [<TextNode: '\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffce7f6d0> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffde9fe50> |
nodelist | [<TextNode: '\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffce7f6d0> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/loader_tags.py
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', '"simple/base.common-page.html"'] |
parent_name | <django.template.base.FilterExpression object at 0x7f6ffd2d1c70> |
parser | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffce7f6d0> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffde9fd30> |
compiled_result | <Block Node: custom-footer-content. Contents: [<TextNode: '\n <div class="q-wrap'>, <Variable Node: trans.press>, <TextNode: '\n </p>\n '>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>]> |
nodelist | [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd2d1d60>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd2d1160>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd202ca0>, <TextNode: '\n\n'>, <Block Node: css-pre-extras. Contents: [<TextNode: '\n <link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f6ffcf85340>, <TextNode: '"/>\n <link rel="styles'>, <django.templatetags.static.StaticNode object at 0x7f6ffcea8fa0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd4a4c40>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16c310>, <TextNode: '" />\n <!-- MEGAFOLIO P'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16cac0>, <TextNode: '" type="text/css" media="'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16c880>, <TextNode: '" media="screen" />\n'>]>, <TextNode: '\n\n'>, <Block Node: css-sub-sub-extras. Contents: [<TextNode: '\n <link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f6ffd170250>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd014dc0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd6216d0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd2b0790>, <TextNode: '" />\n'>]>, <TextNode: '\n\n'>, <Block Node: extra-script-includes. Contents: [<TextNode: '\n <!--SIMPLE TEXTROTAT'>, <django.templatetags.static.StaticNode object at 0x7f6ffd01bb80>, <TextNode: '"></script>\n <script t'>, <django.templatetags.static.StaticNode object at 0x7f6ffd01bca0>, <TextNode: '"></script>\n <script t'>, <django.templatetags.static.StaticNode object at 0x7f6ffd08fa90>, <TextNode: '"></script>\n'>]>, <TextNode: '\n\n'>, <Block Node: script-extras. Contents: [<TextNode: '\n $(document).ready(fu'>]>, <TextNode: '\n\n'>, <Block Node: page-content. Contents: [<TextNode: '\n <!--<div class="cd-e'>, <django.templatetags.static.StaticNode object at 0x7f6ffd0a54c0>, <TextNode: '"/>\n <div class="c'>, <ForNode: for cd in cds, tail_len: 9>, <TextNode: '\n'>]>, <TextNode: '\n\n\n'>, <Block Node: custom-footer-content. Contents: [<TextNode: '\n <div class="q-wrap'>, <Variable Node: trans.press>, <TextNode: '\n </p>\n '>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>]>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffd2b4370> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffde9fd30> |
compiled_result | <Block Node: custom-footer-content. Contents: [<TextNode: '\n <div class="q-wrap'>, <Variable Node: trans.press>, <TextNode: '\n </p>\n '>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>]> |
nodelist | [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd2d1d60>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd2d1160>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f6ffd202ca0>, <TextNode: '\n\n'>, <Block Node: css-pre-extras. Contents: [<TextNode: '\n <link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f6ffcf85340>, <TextNode: '"/>\n <link rel="styles'>, <django.templatetags.static.StaticNode object at 0x7f6ffcea8fa0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd4a4c40>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16c310>, <TextNode: '" />\n <!-- MEGAFOLIO P'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16cac0>, <TextNode: '" type="text/css" media="'>, <django.templatetags.static.StaticNode object at 0x7f6ffd16c880>, <TextNode: '" media="screen" />\n'>]>, <TextNode: '\n\n'>, <Block Node: css-sub-sub-extras. Contents: [<TextNode: '\n <link rel="styleshee'>, <django.templatetags.static.StaticNode object at 0x7f6ffd170250>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd014dc0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd6216d0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7f6ffd2b0790>, <TextNode: '" />\n'>]>, <TextNode: '\n\n'>, <Block Node: extra-script-includes. Contents: [<TextNode: '\n <!--SIMPLE TEXTROTAT'>, <django.templatetags.static.StaticNode object at 0x7f6ffd01bb80>, <TextNode: '"></script>\n <script t'>, <django.templatetags.static.StaticNode object at 0x7f6ffd01bca0>, <TextNode: '"></script>\n <script t'>, <django.templatetags.static.StaticNode object at 0x7f6ffd08fa90>, <TextNode: '"></script>\n'>]>, <TextNode: '\n\n'>, <Block Node: script-extras. Contents: [<TextNode: '\n $(document).ready(fu'>]>, <TextNode: '\n\n'>, <Block Node: page-content. Contents: [<TextNode: '\n <!--<div class="cd-e'>, <django.templatetags.static.StaticNode object at 0x7f6ffd0a54c0>, <TextNode: '"/>\n <div class="c'>, <ForNode: for cd in cds, tail_len: 9>, <TextNode: '\n'>]>, <TextNode: '\n\n\n'>, <Block Node: custom-footer-content. Contents: [<TextNode: '\n <div class="q-wrap'>, <Variable Node: trans.press>, <TextNode: '\n </p>\n '>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>, <ForNode: for zitat in zitats, tail_len: 5>, <TextNode: '\n </sp'>]>, <TextNode: '\n\n\n'>] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffd2b4370> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/loader_tags.py
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', 'custom-footer-content111'] |
block_name | 'custom-footer-content111' |
parser | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffd2b4370> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
in parse
self.extend_nodelist(nodelist, TextNode(token.contents), token)
elif token.token_type.value == 1: # TokenType.VAR
if not token.contents:
raise self.error(token, 'Empty variable tag on line %d' % token.lineno)
try:
filter_expression = self.compile_filter(token.contents)
except TemplateSyntaxError as e:
raise self.error(token, e)…
var_node = VariableNode(filter_expression)
self.extend_nodelist(nodelist, var_node, token)
elif token.token_type.value == 2: # TokenType.BLOCK
try:
command = token.contents.split()[0]
except IndexError:
Variable | Value |
---|---|
nodelist | [<TextNode: '\n <div class="q-wrap'>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffd2b4f70> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
in parse
# Use the raw values here for TokenType.* for a tiny performance boost.
if token.token_type.value == 0: # TokenType.TEXT
self.extend_nodelist(nodelist, TextNode(token.contents), token)
elif token.token_type.value == 1: # TokenType.VAR
if not token.contents:
raise self.error(token, 'Empty variable tag on line %d' % token.lineno)
try:
filter_expression = self.compile_filter(token.contents)…
except TemplateSyntaxError as e:
raise self.error(token, e)
var_node = VariableNode(filter_expression)
self.extend_nodelist(nodelist, var_node, token)
elif token.token_type.value == 2: # TokenType.BLOCK
try:
Variable | Value |
---|---|
nodelist | [<TextNode: '\n <div class="q-wrap'>] |
parse_until | ('endblock',) |
self | <django.template.base.Parser object at 0x7f6ffce7fc40> |
token | <django.template.base.Token object at 0x7f6ffd2b4f70> |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 0x7f6ffce7fc40> |
token | 'trans-press' |
/home/gilbo/mintz_venv/lib/python3.8/site-packages/django/template/base.py
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 |
---|---|
constant | None |
filters | [] |
match | <re.Match object; span=(0, 5), match='trans'> |
matches | <callable_iterator object at 0x7f6ffce7f340> |
parser | <django.template.base.Parser object at 0x7f6ffce7fc40> |
self | <django.template.base.FilterExpression object at 0x7f6ffce7f1f0> |
start | 0 |
token | 'trans-press' |
upto | 5 |
var | 'trans' |
var_obj | <Variable: 'trans'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | '127.0.0.1:9001' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/cd/' |
QUERY_STRING | '' |
RAW_URI | '/cd/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '38792' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '9001' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 9001), raddr=('127.0.0.1', 38792)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6ffd0c69d0> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f6ffd0c6520> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
gilbo.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'extraPlugins': 'filerimage', 'height': 300, 'toolbar': [['Undo', 'Redo', '-', 'Bold', 'Italic', 'Underline', '-', 'Link', 'Unlink', 'Anchor', '-', 'Format', '-', 'SpellChecker', 'Scayt', '-', 'Maximize', '-', 'Image'], ['HorizontalRule', '-', 'Table', '-', 'BulletedList', 'NumberedList', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'FilerImage', '-', 'SpecialChar', '-', 'Source', '-', 'About']], 'toolbarCanCollapse': False, 'width': 840}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
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.sqlite3', 'HOST': '', 'NAME': '/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../../db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
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 |
FILER_ALLOW_REGULAR_USERS_TO_ADD_ROOT_FOLDERS | True |
FILER_IMAGE_MODEL | 'filer.Image' |
FILER_IS_PUBLIC_DEFAULT | True |
FILER_PAGINATE_BY | 100 |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | 'simple.formats' |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('suit', 'suit_sortable', 'modeltranslation', 'ckeditor', 'filer', 'ckeditor_filebrowser_filer', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'simple', 'easy_thumbnails') |
INTERNAL_IPS | [] |
LANGUAGES | (('de', 'Deutsch'), ('en', 'English'), ('fr', 'French'), ('es', 'Spanish')) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | ('/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../../media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'en' |
MODELTRANSLATION_TRANSLATION_FILES | ('simple.translation',) |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'gilbo.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 12096000 |
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 | 'gilbo.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/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.FileSystemFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/../../staticroot' |
STATIC_URL | '/static/' |
SUIT_CONFIG | {'ADMIN_NAME': 'RKSP'} |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/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.tz', 'django.template.context_processors.static'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | ('/home/gilbo/philhanmonia/Philarmonia-Docker/app/gilbo/templates',) |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_HIGH_RESOLUTION | True |
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 | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'gilbo.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.