list index out of range
Request Method: | GET |
---|---|
Request URL: | https://apis.acdh.oeaw.ac.at/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft |
Django Version: | 4.1.7 |
Exception Type: | IndexError |
Exception Value: | list index out of range |
Exception Location: | /app/theme/templatetags/custom_tags.py, line 53, in normalize_facet |
Raised during: | theme.views.SearchView |
Python Executable: | /usr/local/bin/python3.11 |
Python Version: | 3.11.8 |
Python Path: | ['/usr/local/bin', '/app', '/usr/local/lib/python311.zip', '/usr/local/lib/python3.11', '/usr/local/lib/python3.11/lib-dynload', '/usr/local/lib/python3.11/site-packages'] |
Server time: | Fri, 29 Mar 2024 11:25:08 +0000 |
In template /app/theme/templates/theme/person_search.html
, error at line 108
98 | </div> |
---|---|
99 | </div> |
100 | </div> |
101 | </div> |
102 | <div class="col-md-9 mt-3" id="results"> |
103 | <div> |
104 | {% if form.data.selected_facets|length > 0 %} |
105 | <ul class="facet-group pl-0 mb-0" > |
106 | {% for fac in form.selected_facets %} |
107 | <li class="facet-group-item facet-badges pl-0"> |
108 | <a href="{% normalize_facet fac 'filter' request.get_full_path %}" type="button" |
109 | class="badge badge-custom badge-pill p-1 oebl-inverted"> |
110 | {% normalize_facet fac 'name' %}<i class="remove-badge ml-1" data-feather="x"></i> |
111 | </a> |
112 | </li> |
113 | {% endfor %} |
114 | </ul> |
115 | <!-- <a href="{% remove_facets request.get_full_path %}" type="button" |
116 | class="btn btn-link btn-sm btn-right">Filter zurücksetzen<span |
117 | class="icon-remove"></span></a>--> |
118 | {% endif %} |
/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py
, line 56, 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 | IndexError('list index out of range') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7faa608d6c50>> |
request | <WSGIRequest: GET '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft'> |
/usr/local/lib/python3.11/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 0x7faa548df4c0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <function CsrfViewMiddleware.process_view at 0x7faa5758c900> |
request | <WSGIRequest: GET '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7faa608d6c50> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7faa468f5c60> |
/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py
, line 38, in sentry_patched_render
def sentry_patched_render(self):
# type: (SimpleTemplateResponse) -> Any
hub = Hub.current
with hub.start_span(
op=OP.VIEW_RESPONSE_RENDER, description="serialize response"
):
return old_render(self)…
@_functools.wraps(old_make_view_atomic)
def sentry_patched_make_view_atomic(self, *args, **kwargs):
# type: (Any, *Any, **Any) -> Any
callback = old_make_view_atomic(self, *args, **kwargs)
Variable | Value |
---|---|
hub | <sentry_sdk.hub.Hub object at 0x7faa4720c7d0> |
old_render | <function SimpleTemplateResponse.render at 0x7faa823a5b20> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/local/lib/python3.11/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.11/site-packages/sentry_sdk/integrations/django/templates.py
, line 74, in rendered_content
return real_rendered_content.fget(self)
with hub.start_span(
op=OP.TEMPLATE_RENDER,
description=_get_template_name_description(self.template_name),
) as span:
span.set_data("context", self.context_data)
return real_rendered_content.fget(self)…
SimpleTemplateResponse.rendered_content = rendered_content
if DJANGO_VERSION < (1, 7):
return
import django.shortcuts
Variable | Value |
---|---|
DjangoIntegration | <class 'sentry_sdk.integrations.django.DjangoIntegration'> |
hub | <sentry_sdk.hub.Hub object at 0x7faa4720c7d0> |
real_rendered_content | <property object at 0x7faa823b2020> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
span | <Span(op='template.render', description:'[theme/person_search.html, ...]', trace_id='fd5e0cbb3c1843eeb922ba329a7163f1', span_id='a21ff1cd462c0293', parent_span_id='872e7bd50a02593b', sampled=False)> |
/usr/local/lib/python3.11/site-packages/django/template/response.py
, line 92, in rendered_content
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.
If the response has already been rendered,
invoke the callback immediately.
Variable | Value |
---|---|
context | {'facets': {'dates': {}, 'fields': {'career': [('Karl-Franzens-Universität Graz', 4), ('2. Staatsgymnasium Graz, Grabenstraße', 2), ('Universität Wien', 2), ('Akademie der Wissenschaften in Wien', 1), ('Bundeserziehungsanstalt für Mädchen (Wien)', 1), ('Deutsche Staatsgewerbeschule (Pilsen)', 1), ('Die Neue Zeit. Revue des geistigen und ' 'öffentlichen Lebens', 1), ('Elisabeth-Gymnasium (Wien)', 1), ('Elternhaus und Schule', 1), ('Gemeinderat Krems', 1), ('Gusle', 1), ('Herrenhaus', 1), ('Hrvatska lipa', 1), ('Hrvatska pjesmarica', 1), ('Internationale Zeitschrift für ' 'Individualpsychologie', 1), ('Joanneum Graz', 1), ('K.K. Ober-Gymnasium in Krems', 1), ('Kaiserlich-Königliche Post- und ' 'Telegraphen-Direktion für Tirol und ' 'Vorarlberg (Innsbruck)', 1), ('Kaiserlich-Königliche Technische ' 'Hochschule Brünn', 1), ('Kaiserlich-Königliches Gymnasium (Agram)', 1), ('Kaiserlich-Königliches Gymnasium ' '(Varaždin)', 1), ('Kaiserliche Akademie der Wissenschaften in ' 'Wien', 1), ('Karls-Universität Prag (1348-1882)', 1), ('Lehrerbildungsanstalt Oberhollabrunn', 1), ('Lehrerbildungsanstalt Tirnau', 1), ('Lehrerbildungsanstalt Wien', 1), ('Leipziger Volksblatt. Organ für die ' 'Interessen der Arbeiter', 1), ('Museum Francisco-Carolinum (Linz)', 1), ('Museum Krems', 1), ('Mährische Landes-Irrenanstalt in Brünn', 1), ('Niederösterreichische ' 'Landes-Unter-Realschule in Waidhofen a. d. ' 'Ybbs', 1), ('Oberösterreichischer Musealverein', 1), ('Piaristen', 1), ('Prüfungskommission für allgemeine Volks- ' 'und Bürgerschulen in Wien', 1), ('Pädagogisches Institut Wien', 1), ('Realschule Wien I.', 1), ('Staatsgymnasium Wien VIII.', 1), ('Stadtarchiv Krems', 1), ('Stift St. Florian', 1), ('Südslawische Akademie der Wissenschaften ' 'und Künste', 1), ('Telegraphendirektion für Tirol und ' 'Vorarlberg (Innsbruck)', … <trimmed 52072 bytes string> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7faa47ae1390> |
/usr/local/lib/python3.11/site-packages/django/template/backends/django.py
, line 61, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
request | <WSGIRequest: GET '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft'> |
self | <django.template.backends.django.Template object at 0x7faa47ae1390> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <Template template_string="{% extends 'theme/ba..."> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <Template template_string="{% extends 'theme/ba..."> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | [<ExtendsNode: extends 'theme/base.html'>] |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7faa44fb3310> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
node | <ExtendsNode: extends 'theme/base.html'> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <ExtendsNode: extends 'theme/base.html'> |
/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py
, line 157, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'header': [<Block Node: header. Contents: [<TextNode: '\n'>]>], 'content': [<Block Node: content. Contents: []>], 'title': [<Block Node: title. Contents: [<TextNode: ' ÖBL '>]>], 'scriptHeader': [<Block Node: scriptHeader. Contents: [<TextNode: '\n '>]>], 'scripts': [<Block Node: scripts. Contents: [<TextNode: '\n '>]>], 'scripts2': [<Block Node: scripts2. Contents: [<TextNode: '\n '>]>]})> |
blocks | {'content': <Block Node: content. Contents: []>, 'scriptHeader': <Block Node: scriptHeader. Contents: [<TextNode: '\n '>]>, 'scripts': <Block Node: scripts. Contents: [<TextNode: '\n '>]>, 'scripts2': <Block Node: scripts2. Contents: [<TextNode: '\n '>]>, 'title': <Block Node: title. Contents: [<TextNode: ' ÖBL '>]>} |
compiled_parent | <Template template_string="<!DOCTYPE html>{% l..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7faa45da7dd0> |
self | <ExtendsNode: extends 'theme/base.html'> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <Template template_string="<!DOCTYPE html>{% l..."> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | [<TextNode: '<!DOCTYPE html>\n'>, <django.template.defaulttags.LoadNode object at 0x7faa45da7dd0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa45da7d90>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa45da7d50>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa45da7f10>, <TextNode: '\n<html lang="en">\n\n<head>'>, <Block Node: title. Contents: [<TextNode: ' ÖBL '>]>, <TextNode: '</title>\n\n <!-- Google '>, StaticNode(varname=None, path=<FilterExpression "'theme/css/main.css'">), <TextNode: '" />-->\n <link rel="st'>, <django.template.defaulttags.LoadNode object at 0x7faa45a080d0>, <TextNode: '\n <link href="'>, <sass_processor.templatetags.sass_tags.SassSrcNode object at 0x7faa45a081d0>, <TextNode: '" rel="stylesheet" type="'>, <sass_processor.templatetags.sass_tags.SassSrcNode object at 0x7faa45a08550>, <TextNode: '" rel="stylesheet" type="'>, <django.template.library.SimpleNode object at 0x7faa45a08710>, <TextNode: '",\n "theme":"dar'>, <django.template.library.SimpleNode object at 0x7faa45a08910>, <TextNode: '";\n _paq.push([\'se'>, <django.template.library.SimpleNode object at 0x7faa45a08790>, <TextNode: "']);\n var d=docume">, <Block Node: scriptHeader. Contents: [<TextNode: '\n '>]>, <TextNode: '\n</head>\n\n<body id="body"'>, StaticNode(varname=None, path=<FilterExpression "'theme/img/logo.svg'">), <TextNode: '" class="img-fluid" alt="'>, <ForNode: for ent in entities_list, tail_len: 7>, <TextNode: '\n <a'>, <URLNode view_name=''apis:apis_metainfo:uri_browse'' args=[] kwargs={} as=None>, <TextNode: '" class="nav-link">URIs</'>, <URLNode view_name=''theme:search'' args=[] kwargs={} as=None>, <TextNode: '" class="nav-link">Suche<'>, <URLNode view_name=''theme:about'' args=[] kwargs={} as=None>, <TextNode: '" class="nav-link">Über d'>, <URLNode view_name=''theme:contact'' args=[] kwargs={} as=None>, <TextNode: '" class="nav-link">Kontak'>, <Block Node: content. Contents: []>, <TextNode: '\n </div>\n<div>\n <'>, StaticNode(varname=None, path=<FilterExpression "'theme/img/logo.svg'">), <TextNode: '" class="img-fluid" alt="'>, <URLNode view_name=''theme:imprint'' args=[] kwargs={} as=None>, <TextNode: '" class="nav-link">Impres'>, StaticNode(varname=None, path=<FilterExpression "'theme/vendor/bootstrap/js/bootstrap.bundle.min.js'">), <TextNode: '"></script>\n <script t'>, <Block Node: scripts. Contents: [<TextNode: '\n '>]>, <TextNode: '\n '>, <Block Node: scripts2. Contents: [<TextNode: '\n '>]>, <TextNode: '\n</div>\n</body>\n\n</html>\n'>] |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7faa44fb3d60> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
node | <Block Node: content. Contents: []> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <Block Node: content. Contents: []> |
/usr/local/lib/python3.11/site-packages/django/template/loader_tags.py
, line 63, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f690>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f650>, <TextNode: '\n<div class="container-fl'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n <div class'>, <ForNode: for param_name, value in request.GET.items, tail_len: 5>, <TextNode: '\n <div class'>, <ForNode: for field in facets.fields, tail_len: 5>, <TextNode: '\n </form>\n '>, <IfNode>, <TextNode: '\n </div>\n <div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0x7faa4485ff10>, <TextNode: '\n <!-- End facetin'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'header': [<Block Node: header. Contents: [<TextNode: '\n'>]>], 'content': [<Block Node: content. Contents: []>], 'title': [<Block Node: title. Contents: [<TextNode: ' ÖBL '>]>], 'scriptHeader': [<Block Node: scriptHeader. Contents: [<TextNode: '\n '>]>], 'scripts': [<Block Node: scripts. Contents: [<TextNode: '\n '>]>], 'scripts2': [<Block Node: scripts2. Contents: [<TextNode: '\n '>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
push | <Block Node: content. Contents: [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f690>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f650>, <TextNode: '\n<div class="container-fl'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n <div class'>, <ForNode: for param_name, value in request.GET.items, tail_len: 5>, <TextNode: '\n <div class'>, <ForNode: for field in facets.fields, tail_len: 5>, <TextNode: '\n </form>\n '>, <IfNode>, <TextNode: '\n </div>\n <div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0x7faa4485ff10>, <TextNode: '\n <!-- End facetin'>]> |
self | <Block Node: content. Contents: []> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f690>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faa4607f650>, <TextNode: '\n<div class="container-fl'>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '\n <div class'>, <ForNode: for param_name, value in request.GET.items, tail_len: 5>, <TextNode: '\n <div class'>, <ForNode: for field in facets.fields, tail_len: 5>, <TextNode: '\n </form>\n '>, <IfNode>, <TextNode: '\n </div>\n <div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0x7faa4485ff10>, <TextNode: '\n <!-- End facetin'>] |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7faa44fb08b0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
node | <IfNode> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <IfNode> |
/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py
, line 321, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ""
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (> (literal <FilterExpression 'form.data.selected_facets|length'>) (literal <FilterExpression '0'>)) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
match | True |
nodelist | [<TextNode: '\n <ul class="fac'>, <ForNode: for fac in form.selected_facets, tail_len: 5>, <TextNode: '\n </ul>\n '>, <django.template.library.SimpleNode object at 0x7faa4485f550>, <TextNode: '" type="button"\n '>] |
self | <IfNode> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | [<TextNode: '\n <ul class="fac'>, <ForNode: for fac in form.selected_facets, tail_len: 5>, <TextNode: '\n </ul>\n '>, <django.template.library.SimpleNode object at 0x7faa4485f550>, <TextNode: '" type="button"\n '>] |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7faa44fb05b0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
node | <ForNode: for fac in form.selected_facets, tail_len: 5> |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <ForNode: for fac in form.selected_facets, tail_len: 5> |
/usr/local/lib/python3.11/site-packages/django/template/defaulttags.py
, line 238, in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
i | 0 |
item | 'career_exact%3AKarl-Franzens-Universit%C3%A4t Graz' |
len_values | 6 |
loop_dict | {'counter': 1, 'counter0': 0, 'first': True, 'last': False, 'parentloop': {}, 'revcounter': 6, 'revcounter0': 5} |
node | <django.template.library.SimpleNode object at 0x7faa45df3750> |
nodelist | ['\n' ' <li class="facet-group-item facet-badges pl-0">\n' ' <a href="'] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for fac in form.selected_facets, tail_len: 5> |
unpack | False |
values | ['career_exact%3AKarl-Franzens-Universit%C3%A4t Graz', 'career_exact%3AKarls-Universit%C3%A4t Prag %281348-1882%29', 'career_exact%3AUniversit%C3%A4t Wien', 'career_exact%3AKaiserliche Akademie der Wissenschaften in Wien', 'profession_exact:Naturwissenschaft', 'profession_exact:Geisteswissenschaft'] |
/usr/local/lib/python3.11/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
self | <django.template.library.SimpleNode object at 0x7faa45df3750> |
/usr/local/lib/python3.11/site-packages/django/template/library.py
, line 237, in render
def __init__(self, func, takes_context, args, kwargs, target_var):
super().__init__(func, takes_context, args, kwargs)
self.target_var = target_var
def render(self, context):
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
output = self.func(*resolved_args, **resolved_kwargs)…
if self.target_var is not None:
context[self.target_var] = output
return ""
if context.autoescape:
output = conditional_escape(output)
return output
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7faa47d6aad0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': [<SearchResult: apis_entities.person (pk=28085)>, <SearchResult: apis_entities.person (pk=28177)>, <SearchResult: apis_entities.person (pk=29425)>, <SearchResult: apis_entities.person (pk=29606)>, <SearchResult: apis_entities.person (pk=30077)>, <SearchResult: apis_entities.person (pk=30384)>, <SearchResult: apis_entities.person (pk=38562)>, <SearchResult: apis_entities.person (pk=39464)>, <SearchResult: apis_entities.person (pk=40210)>, <SearchResult: apis_entities.person (pk=41405)>, <SearchResult: apis_entities.person (pk=34691)>, <SearchResult: apis_entities.person (pk=35234)>, <SearchResult: apis_entities.person (pk=35597)>, <SearchResult: apis_entities.person (pk=35600)>, <SearchResult: apis_entities.person (pk=36037)>, <SearchResult: apis_entities.person (pk=36582)>, <SearchResult: apis_entities.person (pk=37219)>, <SearchResult: apis_entities.person (pk=37304)>, <SearchResult: apis_entities.person (pk=37365)>, <SearchResult: apis_entities.person (pk=30760)>], 'form': <PersonFacetedSearchForm bound=True, valid=True, fields=(q;start_date_form;end_date_form)>, 'query': '', 'view': <theme.views.SearchView object at 0x7faa47ff35d0>, 'facets': {'fields': {'place_of_birth': [('Wien', 11), ('Budapest', 3), ('Brünn', 2), ('Jihlava', 2), ('Karlovac', 2), ('Lemberg', 2), ('Nikolčice', 2), ('Olmütz', 2), ('Prag', 2), ('Pressburg', 2), ('Altenhof', 1), ('Borgo Valsugana', 1), ('Boskovice', 1), ('Botoşani', 1), ('Budweis', 1), ('Bujanov', 1), ('Cece', 1), ('Chiuruş, jud. Covasna', 1), ('Chudenice', 1), ('Cristeștii Ciceului', 1), ('Donji Kraljevec', 1), ('Dornbirn', 1), ('Esslingen am Neckar', 1), ('Garsten', 1), ('Garčin', 1), ('Golčův Jeníkov', 1), ('Graz', 1), ('Großschenk', 1), ('Hallstatt', 1), ('Hermannstadt', 1), ('Holice', 1), ('Hopfgarten in Defereggen', 1), ('Horn', 1), ('Imst', 1), ('Innsbruck', 1), ('Istanbul', 1), ('Izsák', 1), ('Jauernig', 1), ('Kikinda', 1), ('Kirchberg an der Pielach', 1), ('Klagenfurt', 1), ('Klattau', 1), ('Košice', 1), ('Kranj', 1), ('Krems an der Donau Stadt', 1), ('Krn', 1), ('Kronstadt', 1), ('Köln', 1), ('Leipzig', 1), ('Ljubljana', 1), ('Loosdorf', 1), ('Lubiara', 1), ('Lublin', 1), ('Líšeň', 1), ('Mannersdorf am Leithagebirge', 1), ('Mariahof', 1), ('Mattarello', 1), ('Mährisch-Schönberg', 1), ('Mühldorf', 1), ('Nadeş', 1), ('Neutitschein', 1), ('Nyíregyháza', 1), ('Padua', 1), ('Poljane nad Škofjo Loko', 1), ('Poříčí nad Sázavou', 1), ('Quadrath-Ichendorf', 1), ('Rovereto', 1), ('Rychtářov', 1), ('San Valentino alla Muta', 1), ('Schärding', 1), ('Sighișoara', 1), ('Skalica', 1), ('Sobotište', 1), ('Spodnja Ribnica', 1), ('St. Pölten', 1), ('Steegen', 1), ('Strassburg', 1), ('Strážná', 1), ('Stuhlweißenburg', 1), ('Tata', 1), ('Varaždin', 1), ('Vidiná', 1), ('Vysoké Mýto', 1), ('Wagrain', 1), ('Wallern', 1), ('Warschau', 1), ('Wildstein', 1), ('Zadar', 1), ('Zimmern ob Rottweil', 1), ('Átány', 1), ('Šalovci', 1), ('Žamberk', 1), ('(Zürich-)Wipkingen, Kt. Zürich', 0), ('Aachen', 0), ('Abaújszántó', 0), ('Abbiategrasso', 0), ('Abertamy', 0), ('Abony', 0), ('Abrud', 0), ('Absam', 0)], 'place_of_death': [('Wien', 19), ('Budapest', 5), ('Graz', 5), ('Brünn', 4), ('Prag', 4), ('Hermannstadt', 3), ('Klagenfurt', 3), ('Böhmisch Krumau', 2), ('Krakau', 2), ('Ljubljana', 2), ('Orăştie', 2), ('Trient', 2), ('Zagreb', 2), ('Agnita', 1), ('Altenberg an der Rax', 1), ('Bad Aussee', 1), ('Berchtesgaden', 1), ('Bonn', 1), ('Darjiling', 1), ('Dornach SO', 1), ('Eberschwang', 1), ('Ehrwald', 1), ('Fehring', 1), ('Feldioara', 1), ('Furth bei Göttweig', 1), ('Großwardein', 1), ('Haar', 1), ('Hall in Tirol („Solbad Hall“)', 1), ('Innsbruck', 1), ('Istanbul', 1), ('KZ Buchenwald', 1), ('Kabul', 1), ('Karlovac', 1), ('Karlsbad', 1), ('Kateřinky', 1), ('Keszthely', 1), ('Kremsmünster', 1), ('Laaben', 1), ('Lemberg', 1), ('Linz', 1), ('Melbourne', 1), ('Mödling', 1), ('New York City', 1), ('Nyíregyháza', 1), ('Otryby', 1… <trimmed 20136 bytes string> |
resolved_args | ['career_exact%3AKarl-Franzens-Universit%C3%A4t Graz', 'filter', '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft'] |
resolved_kwargs | {} |
self | <django.template.library.SimpleNode object at 0x7faa45df3750> |
/app/theme/templatetags/custom_tags.py
, line 53, in normalize_facet
fac = facet.split(':')
fac[0] = fac[0].replace('_exact', '')
if kind == "simple":
return f"{norm_kind[facet]}"
if kind == "name":
return f"{norm_kind[fac[0].lower()]}: '{fac[1]}'"
elif kind == "filter":
url2 = re.sub(f"([\&\?]selected_facets={fac[0]}_exact)(:|%3A)({urllib.parse.quote(fac[1])})", '',url)…
url2 = url2.replace('search&', 'search?')
return url2
@register.simple_tag
def remove_facets(url):
Variable | Value |
---|---|
fac | ['career%3AKarl-Franzens-Universit%C3%A4t Graz'] |
facet | 'career_exact%3AKarl-Franzens-Universit%C3%A4t Graz' |
kind | 'filter' |
norm_kind | {'career': 'Karriere', 'education': 'Ausbildung', 'place_of_birth': 'Geburtsort', 'place_of_death': 'Sterbeort', 'profession': 'Beruf'} |
url | '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft' |
AnonymousUser
Variable | Value |
---|---|
selected_facets | 'profession_exact:Geisteswissenschaft' |
page | '1' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'apis.acdh.oeaw.ac.at' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '193.170.85.96' |
HTTP_X_FORWARDED_HOST | 'apis.acdh.oeaw.ac.at' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SCHEME | 'https' |
HTTP_X_REAL_IP | '193.170.85.96' |
HTTP_X_REQUEST_ID | '845c27ac86728d22520ccf4a5f2b8a25' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | '/search/' |
QUERY_STRING | 'selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft' |
RAW_URI | '/search/?selected_facets=career_exact%253AKarl-Franzens-Universit%25C3%25A4t+Graz&selected_facets=career_exact%253AKarls-Universit%25C3%25A4t+Prag+%25281348-1882%2529&selected_facets=career_exact%253AUniversit%25C3%25A4t+Wien&selected_facets=career_exact%253AKaiserliche+Akademie+der+Wissenschaften+in+Wien&page=1&selected_facets=profession_exact:Naturwissenschaft&selected_facets=profession_exact:Geisteswissenschaft' |
REMOTE_ADDR | '10.42.187.154' |
REMOTE_PORT | '44252' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '5000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=13, family=2, type=1, proto=0, laddr=('10.42.54.157', 5000), raddr=('10.42.187.154', 44252)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7faa44dba1d0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7faa47077890> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
apis.settings.biographien
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACDH_IMPRINT_URL | 'https://shared.acdh.oeaw.ac.at/acdh-common-assets/api/imprint.php?serviceID=' |
ADMINS | [] |
ALLOWED_HOSTS | ['0.0.0.0', 'localhost', '172.20.0.3', '172.20.0.1', 'apis-oebl.sisyphos.arz.oeaw.ac.at', 'apis.acdh.oeaw.ac.at', '*'] |
APIS_ALTERNATE_NAMES | '********************' |
APIS_API_EXCLUDE_SETS | '********************' |
APIS_BASE_URI | '********************' |
APIS_CETEICEAN_CSS | '********************' |
APIS_CETEICEAN_JS | '********************' |
APIS_COMPONENTS | '********************' |
APIS_DELETE_VIEW_TEMPLATE | '********************' |
APIS_DETAIL_VIEWS_ALLOWED | '********************' |
APIS_ENTITIES | '********************' |
APIS_IIIF_ENT_IIIF_REL | '********************' |
APIS_IIIF_SERVER | '********************' |
APIS_IIIF_WORK_KIND | '********************' |
APIS_LIST_VIEWS_ALLOWED | '********************' |
APIS_LIST_VIEW_TEMPLATE | '********************' |
APIS_LOCATED_IN_ATTR | '********************' |
APIS_METAINFO | '********************' |
APIS_MIN_CHAR | '********************' |
APIS_NEXT_PREV | '********************' |
APIS_OEBL_BIO_COLLECTION | '********************' |
APIS_OSD_IMG_PREFIX | '********************' |
APIS_OSD_JS | '********************' |
APIS_RELATIONS | '********************' |
APIS_RELATIONS_FILTER_EXCLUDE | '********************' |
APIS_SEARCH_ANNOTATION_PROJECTS | '********************' |
APIS_SEARCH_CAREER | '********************' |
APIS_SEARCH_EDUCATION | '********************' |
APIS_SEARCH_EXCLUDE_NAMES | '********************' |
APIS_SEARCH_TEXTTYPES | '********************' |
APIS_SHOW_ONLY_PUBLISHED | '********************' |
APIS_SKOSMOS | '********************' |
APIS_TEI_TEXTS | '********************' |
APIS_VOCABULARIES | '********************' |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/app' |
BIRTH_REL_ID | 595 |
BIRTH_REL_NAME | 'geboren in' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COMPRESS_PRECOMPILERS | (('text/x-scss', 'django_libsass.SassCompiler'),) |
CORS_ALLOW_CREDENTIALS | True |
CORS_ALLOW_METHODS | ('GET', 'OPTIONS') |
CORS_ORIGIN_ALLOW_ALL | True |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSP_DEFAULT_SRC | ("'self'", "'unsafe-inline'", "data: 'unsafe-eval'", 'cdnjs.cloudflare.com', 'cdn.jsdelivr.net', 'fonts.googleapis.com', 'ajax.googleapis.com', 'cdn.rawgit.com', '*.acdh.oeaw.ac.at', 'unpkg.com', 'fonts.gstatic.com', 'cdn.datatables.net', 'code.highcharts.com', '*.acdh-dev.oeaw.ac.at', '*.acdh.oeaw.ac.at', 'openstreetmap.org', '*.openstreetmap.org', '*.placeholder.com') |
CSP_FRAME_SRC | ('sennierer.github.io',) |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | 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 | ['https://apis.acdh.oeaw.ac.at'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'helios.arz.oeaw.ac.at', 'NAME': 'apis_apis_edit', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'apis'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
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'] |
DEATH_REL_ID | 596 |
DEATH_REL_NAME | 'gestorben in' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_SECRET_KEY | '********************' |
DEFAULT_TABLESPACE | '' |
DEV_VERSION | True |
DISALLOWED_USER_AGENTS | [] |
DJANGO_TABLES2_TEMPLATE | 'django_tables2/bootstrap4.html' |
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 |
FEATURED_COLLECTION_NAME | 'FEATURED' |
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 | {'default': {'ADMIN_URL': 'http://apis-solr:8983/solr/admin/cores', 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'URL': 'http://apis-solr:8983/solr/apis_solr'}} |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['dal', 'dal_select2', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'reversion', 'crispy_forms', 'django_filters', 'django_tables2', 'rest_framework', 'webpage', 'browsing', 'apis_core.apis_entities', 'apis_core.apis_metainfo', 'apis_core.apis_relations', 'apis_core.apis_vocabularies', 'apis_core.apis_labels', 'apis_core.apis_tei', 'rest_framework.authtoken', 'drf_spectacular', 'guardian', 'charts', 'infos', 'csvexport', 'apis_highlighter', 'haystack', 'theme', 'leaflet', 'sass_processor'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MAIN_TEXT_NAME | 'ÖBL Haupttext' |
MANAGERS | [] |
MAX_AGE | 3600 |
MEDIA_ROOT | '/app/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['allow_cidr.middleware.AllowCIDRMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'csp.middleware.CSPMiddleware', 'reversion.middleware.RevisionMiddleware', 'crum.CurrentRequestUserMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
PROJECT_DEFAULT_MD | {'app_type': 'database', 'author': 'Matthias Schlögl, Peter Andorfer', 'description': 'This is a default metadata file. To change this, provide ' 'provide a following file ' '{PROJECT_SHARED}/{PROJECT_NAME}/metadata.json', 'github': 'https://github.com/acdh-oeaw/apis-webpage-base', 'imprint': '/imprint', 'matomo_id': '', 'matomo_url': '', 'production instance': None, 'purpose_de': '', 'purpose_en': '', 'social_media': [('fab fa-twitter fa-2x', 'https://twitter.com/ACDH_OeAW'), ('fab fa-youtube fa-2x', 'https://www.youtube.com/channel/UCgaEMaMbPkULYRI5u6gvG-w')], 'subtitle': 'SUBTITLE', 'title': 'TITLE', 'version': ['apis_core', 'charts', 'django']} |
PROJECT_NAME | 'apis' |
PROJECT_SHARED | 'https://shared.acdh.oeaw.ac.at/apis/' |
REDMINE_ID | '17784' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.BasicAuthentication'), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticatedOrReadOnly',), 'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema', 'PAGE_SIZE': 50} |
ROBOTS_TXT_FOLDER | '/app/robots_template' |
ROOT_URLCONF | 'apis.urls' |
SASS_PROCESSOR_ROOT | '/app/theme/static/theme/scss/fundament_oebl' |
SASS_ROOT | '/app/theme/static/theme/scss/fundament_oebl' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
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 | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'apis.settings.biographien' |
SHARED_URL | 'https://shared.acdh.oeaw.ac.at/' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SPECTACULAR_SETTINGS | {'DESCRIPTIOPN': 'Provides access to the main APIS data-model endpoints.', 'LICENSE': {'name': 'MIT License', 'url': 'https://www.mit.edu/~amini/LICENSE.md'}, 'TITLE': 'APIS generic API', 'VERSION': '0.13'} |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'sass_processor.finders.CssFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/app/staticfiles/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'webpage.webpage_content_processors.installed_apps', 'webpage.webpage_content_processors.is_dev_version', 'webpage.webpage_content_processors.get_db_name', 'webpage.webpage_content_processors.title_img', 'webpage.webpage_content_processors.logo_img', 'webpage.webpage_content_processors.custom_css', 'webpage.webpage_content_processors.shared_url', 'webpage.webpage_content_processors.apis_app_name', 'apis_core.context_processors.custom_context_processors.add_entities', 'apis_core.context_processors.custom_context_processors.add_relations', 'apis_core.context_processors.custom_context_processors.add_apis_settings']}}] |
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 | 'apis.wsgi.application' |
X_FRAME_OPTIONS | 'ALLOW-FROM http://sennierer.github.io/' |
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.