Reverse for 'author' with arguments '('Omankowski/Omansen', 'Willibald')' not found. 1 pattern(s) tried: ['autor/([^/]+)/([^/]+)/$']
Request Method: | GET |
---|---|
Request URL: | http://www.bazhum.muzhp.pl/czasopismo/734/?idvol=11968 |
Django Version: | 2.2.18 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'author' with arguments '('Omankowski/Omansen', 'Willibald')' not found. 1 pattern(s) tried: ['autor/([^/]+)/([^/]+)/$'] |
Exception Location: | /usr/local/lib/python3.8/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673 |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.8.8 |
Python Path: | ['/src/czashum', '/usr/local/bin', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages'] |
Server time: | Czw, 28 Mar 2024 16:57:55 +0100 |
In template /src/czashum/czashum/templates/tmpl_lista_artykulow.html
, error at line 65
55 | {% if art.number_id != -1 %}, Numer {{ art.number }}{% endif %}</a> |
---|---|
56 | </div> |
57 | {% endif %} |
58 | {% endif %} |
59 | |
60 | <td class="c2 autor"> |
61 | {% for auth in art.authors %}{% spaceless %} |
62 | {% if auth.surname == '' or auth.firstname == '' or auth.surname == None or auth.firstname == None %} |
63 | <a href="{% url 'authorByTitle' auth.title|iriencode %}">{{ auth.author }}</a> |
64 | {% else %} |
65 | <a href="{% url 'author' auth.surname|iriencode auth.firstname|iriencode %}">{{ auth.title }}</a> |
66 | {% endif %} |
67 | {% endspaceless %} |
68 | {% endfor %} |
69 | <!-- przejscie do widoku z autorem --> |
70 | <td class="c3 strony">{{ art.pages }} |
71 | <td class="c4"> |
72 | <ul class="czynnosci"> |
73 | {% if art.showPdf %} |
74 | <li> |
75 | <a class="czynnosc" target="_blank" href="{% buildfullurl art.pdf %}"> |
/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NoReverseMatch("Reverse for 'author' with arguments '('Omankowski/Omansen', 'Willibald')' not found. 1 pattern(s) tried: ['autor/([^/]+)/([^/]+)/$']") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe627a681f0>> |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function JournalView at 0x7fe626f614c0> |
callback_args | ('734',) |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe627052e20>> |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
resolver | <URLResolver 'czashum_www.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=czashum.views.JournalView, args=('734',), kwargs={}, url_name=journal, app_names=[], namespaces=[], route=^czasopismo/(\d+)/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe627a681f0> |
wrapped_callback | <function JournalView at 0x7fe626f614c0> |
/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function JournalView at 0x7fe626f614c0> |
callback_args | ('734',) |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fe627052e20>> |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
resolver | <URLResolver 'czashum_www.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=czashum.views.JournalView, args=('734',), kwargs={}, url_name=journal, app_names=[], namespaces=[], route=^czasopismo/(\d+)/$) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe627a681f0> |
wrapped_callback | <function JournalView at 0x7fe626f614c0> |
/usr/local/lib/python3.8/site-packages/django/views/generic/base.py
in view
self.head = self.get
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
return self.dispatch(request, *args, **kwargs)…
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | ('734',) |
cls | <class 'czashum.views.JournalView'> |
initkwargs | {} |
kwargs | {} |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
self | <czashum.views.JournalView object at 0x7fe626bd7f10> |
/usr/local/lib/python3.8/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)…
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | ('734',) |
handler | <bound method JournalView.get of <czashum.views.JournalView object at 0x7fe626bd7f10>> |
kwargs | {} |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
self | <czashum.views.JournalView object at 0x7fe626bd7f10> |
/src/czashum/czashum/views.py
in get
"journal_articles_count": articles_count,
"media_url": MEDIA_URL,
"url": MAIN_URL,
"header": HEADER,
"footer": FOOTER,
}
return render(request, "page_czasopismo.html", context=context)…
def get_number_from(number):
if number.isdigit():
return int(number)
# extract all numbers from name and take first for comparison
Variable | Value |
---|---|
articles | <Response: [ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522'), ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534')]> |
articles_count | 46 |
context | {'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'footer': 'tmpl_tail_czashum.php', 'header': 'tmpl_top_czashum.html', 'journal': <Journal: Studia Germanica Gedanensia>, 'journal_articles_count': 46, 'media_url': '/media/', 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'url': 'http://czashum.hist.pl/'} |
current_container | ArticleIndex(index='articles', id='511535') |
id | '734' |
journal | <Journal: Studia Germanica Gedanensia> |
numbers_list | [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')] |
parser | <bib.dsl_utils.utils.DSLDataParser object at 0x7fe6261d7880> |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
self | <czashum.views.JournalView object at 0x7fe626bd7f10> |
volume_id | '11968' |
/usr/local/lib/python3.8/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'footer': 'tmpl_tail_czashum.php', 'header': 'tmpl_top_czashum.html', 'journal': <Journal: Studia Germanica Gedanensia>, 'journal_articles_count': 46, 'media_url': '/media/', 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'url': 'http://czashum.hist.pl/'} |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
status | None |
template_name | 'page_czasopismo.html' |
using | None |
/usr/local/lib/python3.8/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'footer': 'tmpl_tail_czashum.php', 'header': 'tmpl_top_czashum.html', 'journal': <Journal: Studia Germanica Gedanensia>, 'journal_articles_count': 46, 'media_url': '/media/', 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'url': 'http://czashum.hist.pl/'} |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
template | <django.template.backends.django.Template object at 0x7fe624e57e80> |
template_name | 'page_czasopismo.html' |
using | None |
/usr/local/lib/python3.8/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
request | <WSGIRequest: GET '/czasopismo/734/?idvol=11968'> |
self | <django.template.backends.django.Template object at 0x7fe624e57e80> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.base.Template object at 0x7fe6261d7370> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.base.Template object at 0x7fe6261d7370> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' ' </ul>\n' '\n' ' </div>\n' '\n' ' </div>\n' '</div><!-- /block_czasopismo_head -->\n' '\n') |
bits | ['\n' '<!DOCTYPE html>\n' '<head>\n' '<!-- michal.szotaXgmail.com -->\n' '\t<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n' '\t<title></title>\n' '\n' '\t<meta property="og:title" content="Test">\n' '\t<meta property="og:image" content="">\n' '\t<meta property="og:type" content="website">\n' '\t<meta property="og:description" content="">\n' '\t<meta name="description" content="">\n' '\t<meta name="robots" content="index,follow">\n' '\t<meta http-equiv="imagetoolbar" content="no">\n' '\n' '\t<script ' 'src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>\n' '\n' '\t<link rel="stylesheet" ' 'href="/static/font-awesome-4.0.1/css/font-awesome.min.css">\n' '\t<link rel="icon" href="favicon.ico" type="image/ico">\n' '\n' '\t<script type="text/javascript">\n' '\tWebFontConfig = {\n' "\tgoogle: { families: [ 'Open+Sans:400italic,400,700:latin,latin-ext', " "'Archivo+Black::latin,latin-ext' ] }\n" '\t};\n' '\t(function() {\n' "\tvar wf = document.createElement('script');\n" "\twf.src = ('https:' == document.location.protocol ? 'https' : 'http') +\n" "\t'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';\n" "\twf.type = 'text/javascript';\n" "\twf.async = 'true';\n" "\tvar s = document.getElementsByTagName('script')[0];\n" '\ts.parentNode.insertBefore(wf, s);\n' '\t})(); </script>\n' '\n' '\t<link rel="stylesheet/less" type="text/css" href="/static/style.less">\n' '\t<script type="text/javascript" src="/static/less-1.3.0.min.js"></script>\n' '\t<script>\n' '\tvar less = {env: "development"};\n' '\tlocalStorage.clear();\n' '\t</script>\n' '\n' '<script>\n' ' ' "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n" ' (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new ' 'Date();a=s.createElement(o),\n' ' ' 'm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n' ' ' "})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n" '\n' " ga('create', 'UA-70803376-1', 'auto');\n" " ga('send', 'pageview');\n" '\n' '</script>\n' '\n' '\t<script>\n' '\t\t$(function() {\n' "\t\t\t$('.box_okladka_big .fg').addClass('open'); // animacja okładki " 'poprzez css transition\n' '\n' "\t\t\t$('.czynnosc.udostepnij').click(function() {\n" "\t\t\t\t$('.opis',this).hide();\n" "\t\t\t\t$('.udostepnij_menu',this).slideDown();\n" '\t\t\t});\n' '\n' "\t\t\t$('.czynnosc.zacytuj').click(function() {\n" "\t\t\t\t$t=$(this).parents('tr').next('.cytowanie');\n" '\t\t\t\t$t.toggle();\n' "\t\t\t\t$('.item',$t).slideDown();\n" '\t\t\t});\n' '\n' '\n' '\t\t\t$(window).resize(function() {\n' "\t\t\t\t$ts=$('.textpage .sidebar'); $tm=$('.textpage .mainbar');\n" '\t\t\t\tif ($ts.outerHeight()<$tm.outerHeight()) ' '$ts.height($tm.outerHeight());\n' '\n' '\t\t\t\t// stopka zawsze na dole\n' "\t\t\t\t$f=$('footer');\n" "\t\t\t\tif ($('#contentwrap').height() < $(window).height()) {\n" '\t\t\t\t\t' "$('.spacer',$f).height($(window).height()-$('#contentwrap').height()-$('.footercontent',$f).outerHeight());\n" '\t\t\t\t}\n' '\n' '\t\t\t}).resize();\n' '\n' '\t\t\t$(window).load(function() {\n' '\t\t\t\t$(window).resize();\n' '\t\t\t});\n' '\t\t});\n' '\t</script>\n' '\n' '<body>\n' '<div id="contentwrap">\n', '\n', '<!-- linki są ustawione na sztywno i oczywiscie tymczasowe -->\n' '<div class="block_top">\n' '\t<div class="blockwrap">\n' '\t\t<div class="box_logo">\n' '\t\t\t<h1><a href="/">Czasopisma<br>humanistyczne</a></h1>\n' '\t\t\t<div class="submenu">\n' '\t\t\t\t<a href="/oprojekcie/">O projekcie</a>\n' '\n' '\t\t\t\t<!-- mozna dokladac wiecej pozycji -->\n' '\t\t\t</div>\n' '\t\t</div>\n' '\n' '\t\t<div class="box_menu">\n' '\t\t\t<a href="/czasopismo/lista/">Lista<br>czasopism</a>\n' '\t\t</div>\n' '\t\t<div class="box_menu">\n' '\t\t\t<a href="/autor/lista/">Lista<br>autorów</a>\n' '\t\t</div>\n' '\t\t<div class="box_menu">\n' '\t\t\t<a href="/wydawnictwo/lista/">Lista<br>wydawnictw</a>\n' '\t\t</div>\n' '\t\t<div class=… <trimmed 10763 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
node | <IfNode> |
self | [<django.template.loader_tags.IncludeNode object at 0x7fe624e57580>, <TextNode: '\n'>, <django.template.loader_tags.IncludeNode object at 0x7fe624e570a0>, <TextNode: '\n\n<div class="block_czaso'>, <Variable Node: journal>, <TextNode: '\n\n <tr>\n '>, <Variable Node: journal.issn>, <TextNode: '\n\n <tr>\n '>, <ForNode: for publisher in journal.getContributor, tail_len: 3>, <TextNode: '\n\n <tr>\n '>, <Variable Node: journal.getSecondName>, <TextNode: '\n\n <tr>\n '>, <Variable Node: request.build_absolute_uri>, <TextNode: '"\n '>, <Variable Node: socialShare|iriencode>, <TextNode: '"\n '>, <Variable Node: request.build_absolute_uri>, <TextNode: '" onclick="javascript:win'>, <Variable Node: journal>, <TextNode: ' %0A'>, <Variable Node: request.build_absolute_uri>, <TextNode: '">\n '>, <IfNode>, <TextNode: '\n </div>\n <'>, <Variable Node: journal>, <TextNode: '\n </di'>, <Variable Node: currListName.year>, <IfNode>, <IfNode>, <TextNode: '\n </di'>, <ForNode: for ele in nolist, tail_len: 9>, <TextNode: '\n </ul>\n\n '>, <IfNode>, <TextNode: '\n\n'>, <django.template.loader_tags.IncludeNode object at 0x7fe626be58b0>, <TextNode: '\n'>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <IfNode> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
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 <django.template.base.FilterExpression object at 0x7fe6260eaf70>) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
match | [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')] |
nodelist | [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe626be5910>, <TextNode: '\n'>] |
self | <IfNode> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
node | <django.template.loader_tags.IncludeNode object at 0x7fe626be5910> |
self | [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fe626be5910>, <TextNode: '\n'>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.loader_tags.IncludeNode object at 0x7fe626be5910> |
/usr/local/lib/python3.8/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in self.extra_context.items()
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)…
@register.tag('block')
def do_block(parser, token):
"""
Define a block that can be overridden by child templates.
Variable | Value |
---|---|
cache | {'tmpl_lista_artykulow.html': <django.template.base.Template object at 0x7fe626be7970>} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.loader_tags.IncludeNode object at 0x7fe626be5910> |
template | <django.template.base.Template object at 0x7fe626be7970> |
template_name | 'tmpl_lista_artykulow.html' |
values | {} |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
"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
is True and an exception occurs during parsing, the exception is
is annotated with contextual line information where it occurred in the
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.base.Template object at 0x7fe626be7970> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.base.Template object at 0x7fe626be7970> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' ' <th class="c2">Autorzy\n' ' <th class="c3">Strony\n' ' <th class="c4">Czynności\n' ' <!-- mozna tu zaimplementować sortowanie po tych ' 'kolumnach -->\n' ' </table>\n' '\n' ' <table border=0 cellspacing=0 cellpadding=0 class="lista">\n' ' ') |
bits | ['', '\n' '\n' '<div class="block_lista_artykulow">\n' ' <div class="blockwrap">\n' ' <div class="col6x">\n' ' <div class="count">', '', '</div>\n <h2 class="boxheader">\n ', '', '\n' ' <!-- tu w zależności od kontekstu zmienia się tytuł, np. ' '"Spis treści" albo nazwisko autora -->\n' ' </h2>\n' ' </div>\n' ' </div>\n' '\n' ' <div class="blockwrap">\n' ' <div class="col6x">\n' ' <table border=0 cellspacing=0 cellpadding=0 class="naglowki">\n' ' <tr>\n' ' <th class="c1">Tytuł artykułu ', '', '\n' ' <th class="c2">Autorzy\n' ' <th class="c3">Strony\n' ' <th class="c4">Czynności\n' ' <!-- mozna tu zaimplementować sortowanie po tych ' 'kolumnach -->\n' ' </table>\n' '\n' ' <table border=0 cellspacing=0 cellpadding=0 class="lista">\n' ' '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
node | <ForNode: for art in articles, tail_len: 37> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe625fdad30>, <TextNode: '\n\n<div class="block_lista'>, <IfNode>, <TextNode: '</div>\n <h2 cl'>, <Variable Node: listTitle>, <TextNode: '\n <!-- tu '>, <IfNode>, <TextNode: '\n <th '>, <ForNode: for art in articles, tail_len: 37>, <TextNode: '\n </table>\n '>, <IfNode>, <TextNode: '\n <!-- /pagina'>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <ForNode: for art in articles, tail_len: 37> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
i | 31 |
item | ArticleIndex(index='articles', id='511557') |
len_values | 46 |
loop_dict | {'counter': 32, 'counter0': 31, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 15, 'revcounter0': 14} |
node | <ForNode: for auth in art.authors, tail_len: 2> |
nodelist | ['\n' '\n' ' <tr>\n' ' <td class="c1 tytul">\n' ' ', '\n' ' <a target="_blank" ' 'href="http://www.bazhum.muzhp.pl/media//files/Studia_Germanica_Gedanensia/Studia_Germanica_Gedanensia-r2014-t31/Studia_Germanica_Gedanensia-r2014-t31-s9-23/Studia_Germanica_Gedanensia-r2014-t31-s9-23.pdf"><!-- ' 'ten sam link co czynność "pełny tekst" -->\n' ' Kontrastivität in der Linguistik und ' 'ihre Dimensionen\n' ' </a>\n' ' \n' ' ', '\n' '\n' ' <td class="c2 autor">\n' ' ', '<a href="/autor/K%25C4%2585tny/Andrzej/">Andrzej Kątny</a>\n' ' <a href="/autor/Olszewska/Danuta/">Danuta ' 'Olszewska</a>\n' ' <a href="/autor/Socka/Anna/">Anna Socka</a>\n' ' ', '\n' ' <!-- przejscie do widoku z autorem -->\n' ' <td class="c3 strony">', 's. 9-23', '\n' ' <td class="c4">\n' ' <ul class="czynnosci">\n' ' ', '\n' ' <li>\n' ' <a class="czynnosc" target="_blank" ' 'href="http://www.bazhum.muzhp.pl/media//files/Studia_Germanica_Gedanensia/Studia_Germanica_Gedanensia-r2014-t31/Studia_Germanica_Gedanensia-r2014-t31-s9-23/Studia_Germanica_Gedanensia-r2014-t31-s9-23.pdf">\n' ' <span class="ikona"><i class="fa ' 'fa-file-text-o"></i></span>\n' ' <span class="opis">Pełny ' 'tekst</span>\n' ' </a>\n' ' <li>', '\n' ' <div class="czynnosc zacytuj">\n' ' <span class="ikona"><i class="fa ' 'fa-comment"></i></span>\n' ' <span class="opis">Zacytuj</span>\n' ' </div>\n' '\n' ' <li>\n' ' <div class="czynnosc udostepnij">\n' ' <span class="ikona"><i class="fa ' 'fa-share"></i></span>\n' ' <span ' 'class="opis">Udostępnij</span>\n' '\n' ' <div class="udostepnij_menu" ' 'style="display: none;">\n' ' <a ' 'href="http://www.facebook.com/sharer/sharer.php?u=', 'http://czashum.hist.pl/', '/share/', '511523', '"\n' ' ' 'onclick="javascript:window.open(this.href,\'\', ' "'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return " 'false;">\n' ' <span class="ikona"><i ' 'class="fa fa-facebook"></i></span>\n' ' </a>\n' ' <a ' 'href="http://twitter.com/share?text=Interesujący artykuł w czasopiśmie ', 'Studia Germanica Gedanensia', ' pt. ', 'Kontrastivität in der Linguistik und ihre Dimensionen', '&url=', 'http://www.bazhum.muzhp.pl/media//files/Studia_Germanica_Gedanensia/Studia_Germanica_Gedanensia-r2014-t31/Studia_Germanica_Gedanensia-r2014-t31-s9-23/Studia_Germanica_Gedanensia-r2014-t31-s9-23.pdf', '"\n' ' ' 'onclick="javascript:window.open(this.href,\'\', ' "'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return " 'false;">\n' ' <span class="ikona"><i ' 'class="fa fa-twitter"></i></span>\n' ' </a>\n' ' <a ' 'href="https://plus.goo… <trimmed 247946 bytes string> |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for art in articles, tail_len: 37> |
unpack | False |
values | [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <ForNode: for auth in art.authors, tail_len: 2> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
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}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
i | 0 |
item | {'surname': 'Omankowski/Omansen', 'firstname': 'Willibald', ...} |
len_values | 2 |
loop_dict | {'counter': 1, 'counter0': 0, 'first': True, 'last': False, 'parentloop': {'counter': 32, 'counter0': 31, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 15, 'revcounter0': 14}, 'revcounter': 2, 'revcounter0': 1} |
node | <django.template.defaulttags.SpacelessNode object at 0x7fe626024820> |
nodelist | [] |
num_loopvars | 1 |
parentloop | {'counter': 32, 'counter0': 31, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 15, 'revcounter0': 14} |
pop_context | False |
self | <ForNode: for auth in art.authors, tail_len: 2> |
unpack | False |
values | [{'surname': 'Omankowski/Omansen', 'firstname': 'Willibald', 'title': 'Willibald Omankowski/Omansen'}, {'surname': 'Gorlikowski', 'firstname': 'Adam', 'title': 'Adam Gorlikowski (tłum.)'}] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.defaulttags.SpacelessNode object at 0x7fe626024820> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
in render
class SpacelessNode(Node):
def __init__(self, nodelist):
self.nodelist = nodelist
def render(self, context):
from django.utils.html import strip_spaces_between_tags
return strip_spaces_between_tags(self.nodelist.render(context).strip())…
class TemplateTagNode(Node):
mapping = {
'openblock': BLOCK_TAG_START,
'closeblock': BLOCK_TAG_END,
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.defaulttags.SpacelessNode object at 0x7fe626024820> |
strip_spaces_between_tags | <function strip_spaces_between_tags at 0x7fe627f18700> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n ' |
bits | ['\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
node | <IfNode> |
self | [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <IfNode> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
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 | None |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
match | True |
nodelist | [<TextNode: '\n '>, <django.template.defaulttags.URLNode object at 0x7fe6264b71f0>, <TextNode: '">'>, <Variable Node: auth.title>, <TextNode: '</a>\n '>] |
self | <IfNode> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n <a href="' |
bits | ['\n <a href="'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
node | <django.template.defaulttags.URLNode object at 0x7fe6264b71f0> |
self | [<TextNode: '\n '>, <django.template.defaulttags.URLNode object at 0x7fe6264b71f0>, <TextNode: '">'>, <Variable Node: auth.title>, <TextNode: '</a>\n '>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
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 and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
self | <django.template.defaulttags.URLNode object at 0x7fe6264b71f0> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)…
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | ['Omankowski/Omansen', 'Willibald'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'journal': <Journal: Studia Germanica Gedanensia>, 'nolist': [ArticleIndex(index='articles', id='509646'), ArticleIndex(index='articles', id='510172'), ArticleIndex(index='articles', id='509083'), ArticleIndex(index='articles', id='509861'), ArticleIndex(index='articles', id='510403'), ArticleIndex(index='articles', id='510627'), ArticleIndex(index='articles', id='510659'), ArticleIndex(index='articles', id='510697'), ArticleIndex(index='articles', id='510877'), ArticleIndex(index='articles', id='511122'), ArticleIndex(index='articles', id='511359'), ArticleIndex(index='articles', id='511380'), ArticleIndex(index='articles', id='511493'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511572'), ArticleIndex(index='articles', id='511633'), ArticleIndex(index='articles', id='542348'), ArticleIndex(index='articles', id='542366')], 'articles': [ArticleIndex(index='articles', id='511523'), ArticleIndex(index='articles', id='511524'), ArticleIndex(index='articles', id='511525'), ArticleIndex(index='articles', id='511526'), ArticleIndex(index='articles', id='511527'), ArticleIndex(index='articles', id='511528'), ArticleIndex(index='articles', id='511529'), ArticleIndex(index='articles', id='511530'), ArticleIndex(index='articles', id='511531'), ArticleIndex(index='articles', id='511532'), ArticleIndex(index='articles', id='511533'), ArticleIndex(index='articles', id='511534'), ArticleIndex(index='articles', id='511535'), ArticleIndex(index='articles', id='511536'), ArticleIndex(index='articles', id='511537'), ArticleIndex(index='articles', id='511538'), ArticleIndex(index='articles', id='511539'), ArticleIndex(index='articles', id='511540'), ArticleIndex(index='articles', id='511541'), ArticleIndex(index='articles', id='511542'), ArticleIndex(index='articles', id='511544'), ArticleIndex(index='articles', id='511545'), ArticleIndex(index='articles', id='511546'), ArticleIndex(index='articles', id='511547'), ArticleIndex(index='articles', id='511548'), ArticleIndex(index='articles', id='511549'), ArticleIndex(index='articles', id='511550'), ArticleIndex(index='articles', id='511551'), ArticleIndex(index='articles', id='511552'), ArticleIndex(index='articles', id='511553'), ArticleIndex(index='articles', id='511555'), ArticleIndex(index='articles', id='511557'), ArticleIndex(index='articles', id='511558'), ArticleIndex(index='articles', id='511559'), ArticleIndex(index='articles', id='511561'), ArticleIndex(index='articles', id='511562'), ArticleIndex(index='articles', id='511563'), ArticleIndex(index='articles', id='511564'), ArticleIndex(index='articles', id='511565'), ArticleIndex(index='articles', id='511566'), ArticleIndex(index='articles', id='511567'), ArticleIndex(index='articles', id='511568'), ArticleIndex(index='articles', id='511569'), ArticleIndex(index='articles', id='511570'), ArticleIndex(index='articles', id='511571'), ArticleIndex(index='articles', id='511522')], 'currListName': ArticleIndex(index='articles', id='511535'), 'journal_articles_count': 46, 'media_url': '/media/', 'url': 'http://czashum.hist.pl/', 'header': 'tmpl_top_czashum.html', 'footer': 'tmpl_tail_czashum.php'}] |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7fe627c1a310> |
self | <django.template.defaulttags.URLNode object at 0x7fe6264b71f0> |
url | '' |
view_name | 'author' |
/usr/local/lib/python3.8/site-packages/django/urls/base.py
in reverse
(key, ':'.join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver, tuple(ns_converters.items()))
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))…
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
Variable | Value |
---|---|
args | ['Omankowski/Omansen', 'Willibald'] |
current_app | '' |
current_path | None |
kwargs | {} |
ns_converters | {} |
ns_pattern | '' |
parts | ['author'] |
path | [] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'czashum_www.urls' (None:None) '^/'> |
urlconf | 'czashum_www.urls' |
view | 'author' |
viewname | 'author' |
/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)…
Variable | Value |
---|---|
_prefix | '/' |
arg_msg | "arguments '('Omankowski/Omansen', 'Willibald')'" |
args | ('Omankowski/Omansen', 'Willibald') |
candidate_pat | '/autor/%(_0)s/%(_1)s/' |
candidate_subs | {'_0': 'Omankowski/Omansen', '_1': 'Willibald'} |
converters | {} |
defaults | {} |
k | '_1' |
kwargs | {} |
lookup_view | 'author' |
lookup_view_s | 'author' |
m | None |
msg | ("Reverse for 'author' with arguments '('Omankowski/Omansen', 'Willibald')' " "not found. 1 pattern(s) tried: ['autor/([^/]+)/([^/]+)/$']") |
n | None |
params | ['_0', '_1'] |
pattern | 'autor/([^/]+)/([^/]+)/$' |
patterns | ['autor/([^/]+)/([^/]+)/$'] |
possibilities | [([('autor/%(_0)s/%(_1)s/', ['_0', '_1'])], 'autor/([^/]+)/([^/]+)/$', {}, {})] |
possibility | [('autor/%(_0)s/%(_1)s/', ['_0', '_1'])] |
result | 'autor/%(_0)s/%(_1)s/' |
self | <URLResolver 'czashum_www.urls' (None:None) '^/'> |
text_candidate_subs | {'_0': 'Omankowski/Omansen', '_1': 'Willibald'} |
v | 'Willibald' |
AnonymousUser
Variable | Value |
---|---|
idvol | '11968' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip' |
HTTP_HOST | 'www.bazhum.muzhp.pl' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.224.90.25' |
HTTP_X_FORWARDED_HOST | 'www.bazhum.muzhp.pl' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SERVER | 'cd65e96692b3' |
HTTP_X_REAL_IP | '54.224.90.25' |
PATH_INFO | '/czasopismo/734/' |
QUERY_STRING | 'idvol=11968' |
RAW_URI | '/czasopismo/734/?idvol=11968' |
REMOTE_ADDR | '172.19.0.3' |
REMOTE_PORT | '54260' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
gunicorn.socket | <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.19.0.11', 8000), raddr=('172.19.0.3', 54260)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fe626bd70d0> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fe626bd7a30> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
czashum_www.settings
Setting | Value |
---|---|
ABOUT | 'page_tekstowa_czashum.html' |
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_MEDIA_PREFIX | '' |
ALLOWED_HOSTS | ['czashum.muzhp.site.preview.hyperone.cloud', 'bazhum.muzhp.pl', 'www.bazhum.muzhp.pl'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mysql', 'NAME': 'bazhum_bib', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'django'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
ELASTICSEARCH_DSL | {'default': {'hosts': 'http://elasticsearch:9200/'}} |
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 |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FOOTER | 'tmpl_tail_czashum.php' |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
HEADER | 'tmpl_top_czashum.html' |
ID_CZASOPISMA | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'czashum', 'bib', 'django_elasticsearch_dsl', 'django_extensions', 'fullurl') |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', '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'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'pl' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | ('/src/czashum/czashum_www/locale',) |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'console': {'class': 'logging.StreamHandler'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MAIN_PAGE | 'page_home_czashum.html' |
MAIN_URL | 'http://czashum.hist.pl/' |
MANAGERS | () |
MEDIA_ROOT | '/src/czashum/czashum_www/../media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PDF_PATH | '/media//files/' |
PERMISSIONS | {'guid': 'www-data', 'permission': 644, 'uid': 'www-data'} |
PREPEND_WWW | False |
PROJECT_ROOT | '/src/czashum/czashum_www' |
ROOT_URLCONF | 'czashum_www.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 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 | 'czashum_www.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 2 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/src/czashum/czashum_www/staticfiles' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/src/czashum/czashum_www/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | ('/src/czashum/czashum_www/templates',) |
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 | 'Europe/Warsaw' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'czashum_www.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.