Could not parse the remainder: '=='index'' from 'name=='index''
Request Method: | GET |
---|---|
Request URL: | https://oldstoneage.com/osa/ap/the_team/ |
Django Version: | 4.2 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '=='index'' from 'name=='index'' |
Exception Location: | /home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py, line 703, in __init__ |
Raised during: | osa.views.home |
Python Executable: | /home/shannon/webapps/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/home/shannon/webapps/osa/myproject', '/home/shannon/webapps/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/shannon/webapps/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 01:32:17 +0100 |
In template /home/shannon/webapps/osa/myproject/osa/templates/header.html
, error at line 33
23 | |
---|---|
24 | <title>{{ title }}</title> |
25 | <meta name="description" content="{{ description }}" /> |
26 | <meta name="keywords" content="{{ keywords }}" /> |
27 | <meta name="robots" content="index,follow" /> |
28 | <link rel="stylesheet" href="{% static 'osa/css/style.css' %}" type="text/css" /> |
29 | <!--[if (gte IE 6)&(lte IE 8)]> |
30 | <link rel="stylesheet" href="/static/css/ie_7.css" type="text/css" /> |
31 | <![endif]--> |
32 | <style type="text/css"></style> |
33 | {% if name=='index' %} |
34 | <link rel="stylesheet" href="{% static 'osa/css/prettyPhoto.css' %}" type="text/css" /> |
35 | <link rel="stylesheet" href="{% static 'osa/css/flexslider.css' %}" type="text/css" /> |
36 | <script type="text/javascript" src="{% static 'osa/js/jquery.min.js' %}"></script> |
37 | <script type="text/javascript" src="{% static 'osa/js/jquery.easing.1.3.js' %}"></script> |
38 | <script type="text/javascript" src="{% static 'osa/js/jquery-ui-1.8.16.custom.min.js' %}"></script> |
39 | <script type="text/javascript" src="{% static 'osa/js/all-in-one-min.js' %}"></script> |
40 | <script type="text/javascript" src="{% static 'osa/js/setup.js' %}"></script> |
41 | <script type="text/javascript" src="{% static 'osa/js/main.js' %}"></script> |
42 | {% endif %} |
43 |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/smartif.py
, line 179, in translate_token
self.tokens = mapped_tokens
self.pos = 0
self.current_token = self.next_token()
def translate_token(self, token):
try:
op = OPERATORS[token]…
except (KeyError, TypeError):
return self.create_var(token)
else:
return op()
def next_token(self):
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7f65c28a9ac0> |
token | "name=='index'" |
/home/shannon/webapps/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 55, in inner
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | TemplateSyntaxError("Could not parse the remainder: '=='index'' from 'name=='index''") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f65c702b280>> |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
/home/shannon/webapps/lib/python3.8/site-packages/django/core/handlers/base.py
, line 197, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function home at 0x7f65c71be8b0> |
callback_args | () |
callback_kwargs | {'name': 'the_team', 'section': 'ap'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f65c702b280> |
wrapped_callback | <function home at 0x7f65c71be8b0> |
/home/shannon/webapps/osa/myproject/osa/views.py
, line 109, in home
return render(request, 'composite.html', context)
else:
context = get_page(request, context)
else:
context['template'] = '404.html'
#misc = section + ',' + name + ',' + template
#print(template)
return render(request, context['template'], context)…
def e5_privacy(request):
return render(request, 'tech/e5_privacy_policy.html', {})
Variable | Value |
---|---|
context | {'acknow_1': 'The Abri Peyrony excavations are a combined MPI and OSA project. ' 'Direct financial support for the excavations comes from the ' 'Department of Human Evolution at the Max Planck Institute for ' 'Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, ' "Service Régional de l'Archéologie (SRA) for Aquitaine formerly " 'directed by Dr. Dany Baraud, and by the DRAC.', 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team ' 'members, Harold Dibble, Dennis Sandgathe and Paul Goldberg ' 'helped make this project possible. We also thank the owners of ' 'the sites and the many local individuals that helped us. A ' 'special thanks goes as well to all of the student volunteers who ' 'helped make the work possible.', 'description': 'New excavations at the classic Mousterian site of Abri ' 'Peyrony (France)', 'footer': 'footer.html', 'header': 'header.html', 'image': [], 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian ' 'Tradition MTA lissoir', 'menu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class="nav-item dropdown">\r\n' ' <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" ' 'id="navbarDarkDropdownMenuSeasons" role="button" ' 'data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n' '\t<ul class="dropdown-menu dropdown-menu-dark" ' 'aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/peyrony">Peyrony</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2009">2009</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2010">2010</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2012">2012</a></li>\r\n' '\t</ul>\r\n' '</li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/the_team">The Team</a></li>', 'misc': '', 'name': 'the_team', 'section': 'ap', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/seasons">Seasons</a>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li… <trimmed 4327 bytes string> |
name | 'the_team' |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
section | 'ap' |
/home/shannon/webapps/lib/python3.8/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an 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 | {'acknow_1': 'The Abri Peyrony excavations are a combined MPI and OSA project. ' 'Direct financial support for the excavations comes from the ' 'Department of Human Evolution at the Max Planck Institute for ' 'Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, ' "Service Régional de l'Archéologie (SRA) for Aquitaine formerly " 'directed by Dr. Dany Baraud, and by the DRAC.', 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team ' 'members, Harold Dibble, Dennis Sandgathe and Paul Goldberg ' 'helped make this project possible. We also thank the owners of ' 'the sites and the many local individuals that helped us. A ' 'special thanks goes as well to all of the student volunteers who ' 'helped make the work possible.', 'description': 'New excavations at the classic Mousterian site of Abri ' 'Peyrony (France)', 'footer': 'footer.html', 'header': 'header.html', 'image': [], 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian ' 'Tradition MTA lissoir', 'menu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class="nav-item dropdown">\r\n' ' <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" ' 'id="navbarDarkDropdownMenuSeasons" role="button" ' 'data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n' '\t<ul class="dropdown-menu dropdown-menu-dark" ' 'aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/peyrony">Peyrony</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2009">2009</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2010">2010</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2012">2012</a></li>\r\n' '\t</ul>\r\n' '</li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/the_team">The Team</a></li>', 'misc': '', 'name': 'the_team', 'section': 'ap', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/seasons">Seasons</a>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li… <trimmed 4327 bytes string> |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
status | None |
template_name | 'ap/the_team.html' |
using | None |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/loader.py
, line 62, 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 | {'acknow_1': 'The Abri Peyrony excavations are a combined MPI and OSA project. ' 'Direct financial support for the excavations comes from the ' 'Department of Human Evolution at the Max Planck Institute for ' 'Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, ' "Service Régional de l'Archéologie (SRA) for Aquitaine formerly " 'directed by Dr. Dany Baraud, and by the DRAC.', 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team ' 'members, Harold Dibble, Dennis Sandgathe and Paul Goldberg ' 'helped make this project possible. We also thank the owners of ' 'the sites and the many local individuals that helped us. A ' 'special thanks goes as well to all of the student volunteers who ' 'helped make the work possible.', 'description': 'New excavations at the classic Mousterian site of Abri ' 'Peyrony (France)', 'footer': 'footer.html', 'header': 'header.html', 'image': [], 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian ' 'Tradition MTA lissoir', 'menu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class="nav-item dropdown">\r\n' ' <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" ' 'id="navbarDarkDropdownMenuSeasons" role="button" ' 'data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n' '\t<ul class="dropdown-menu dropdown-menu-dark" ' 'aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/peyrony">Peyrony</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2009">2009</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2010">2010</a></li>\r\n' '\t\t<li class=\'nav-item\'><a class="dropdown-item" ' 'href="/osa/ap/2012">2012</a></li>\r\n' '\t</ul>\r\n' '</li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/the_team">The Team</a></li>', 'misc': '', 'name': 'the_team', 'section': 'ap', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/index">Home</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/summary">Summary</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/seasons">Seasons</a>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/bonetools">Bone Tools</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/currently">Currently</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/cc/ap_data">Data</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/plotit/?section=ap">Plotit</a></li>\r\n' '<li class=\'nav-item\'><a class="nav-link" ' 'href="/osa/ap/publications">Publications</a></li… <trimmed 4327 bytes string> |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
template | <django.template.backends.django.Template object at 0x7f65c108e040> |
template_name | 'ap/the_team.html' |
using | None |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
request | <WSGIRequest: GET '/osa/ap/the_team/'> |
self | <django.template.backends.django.Template object at 0x7f65c108e040> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
self | <Template template_string="{% include header %}..."> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
self | <Template template_string="{% include header %}..."> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
self | [<IncludeNode: template=<FilterExpression 'header'>>, <TextNode: '\n\n<section class="contain'>, <Variable Node: title>, <TextNode: '</h1>\n\n\t\t\t<div class="cle'>, <IncludeNode: template=<FilterExpression 'footer'>>, <TextNode: '\n'>] |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f65c2187100> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
node | <IncludeNode: template=<FilterExpression 'header'>> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
self | <IncludeNode: template=<FilterExpression 'header'>> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/loader_tags.py
, line 197, in render
),
)
else:
template_name = tuple(template_name)
cache = context.render_context.dicts[0].setdefault(self, {})
template = cache.get(template_name)
if template is None:
template = context.template.engine.select_template(template_name)…
cache[template_name] = template
# Use the base.Template of a backends.django.Template.
elif hasattr(template, "template"):
template = template.template
values = {
name: var.resolve(context) for name, var in self.extra_context.items()
Variable | Value |
---|---|
cache | {} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'title': 'Abri Peyrony - The Team', 'footer': 'footer.html', 'header': 'header.html', 'keywords': 'Abri Peyrony Paleolithic OldStoneAge Mousterian of Acheulian Tradition MTA lissoir', 'description': 'New excavations at the classic Mousterian site of Abri Peyrony (France)', 'menu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class="nav-item dropdown">\r\n <a class="nav-link dropdown-toggle" href="/osa/ap/seasons" id="navbarDarkDropdownMenuSeasons" role="button" data-bs-toggle="dropdown" aria-expanded="false">Seasons</a>\r\n\t<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuSeasons">\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/peyrony">Peyrony</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/dibble_lenoir">Dibble and Lenoir</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2009">2009</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2010">2010</a></li>\r\n\t\t<li class=\'nav-item\'><a class="dropdown-item" href="/osa/ap/2012">2012</a></li>\r\n\t</ul>\r\n</li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'shortmenu': '<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/index">Home</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/summary">Summary</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/seasons">Seasons</a>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/bonetools">Bone Tools</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/currently">Currently</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/cc/ap_data">Data</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/plotit/?section=ap">Plotit</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/publications">Publications</a></li>\r\n<li class=\'nav-item\'><a class="nav-link" href="/osa/ap/the_team">The Team</a></li>', 'acknow_1': "The Abri Peyrony excavations are a combined MPI and OSA project. Direct financial support for the excavations comes from the Department of Human Evolution at the Max Planck Institute for Evolutionary Anthropology led by Prof. Jean-Jacques Hublin, Service Régional de l'Archéologie (SRA) for Aquitaine formerly directed by Dr. Dany Baraud, and by the DRAC.", 'acknow_2': 'Additional support comes from OSA. In addition to the OSA team members, Harold Dibble, Dennis Sandgathe and Paul Goldberg helped make this project possible. We also thank the owners of the sites and the many local individuals that helped us. A special thanks goes as well to all of the student volunteers who helped make the work possible.', 'misc': '', 'image': [], 'text': [], 'template': 'ap/the_team.html', 'section': 'ap', 'name': 'the_team', 'url': 'ap/the_team'}] |
self | <IncludeNode: template=<FilterExpression 'header'>> |
template | None |
template_name | ('header.html',) |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/engine.py
, line 206, in select_template
Given a list of template names, return the first that can be loaded.
"""
if not template_name_list:
raise TemplateDoesNotExist("No template names provided")
not_found = []
for template_name in template_name_list:
try:
return self.get_template(template_name)…
except TemplateDoesNotExist as exc:
if exc.args[0] not in not_found:
not_found.append(exc.args[0])
continue
# If we get here, none of the templates could be loaded
raise TemplateDoesNotExist(", ".join(not_found))
Variable | Value |
---|---|
not_found | [] |
self | <Engine: app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
template_name | 'header.html' |
template_name_list | ('header.html',) |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/engine.py
, line 175, in get_template
return Template(template_code, engine=self)
def get_template(self, template_name):
"""
Return a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = self.find_template(template_name)…
if not hasattr(template, "render"):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
def render_to_string(self, template_name, context=None):
Variable | Value |
---|---|
self | <Engine: app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
template_name | 'header.html' |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/engine.py
, line 157, in find_template
"Invalid value in template loaders configuration: %r" % loader
)
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
try:
template = loader.get_template(name, skip=skip)…
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
raise TemplateDoesNotExist(name, tried=tried)
def from_string(self, template_code):
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.cached.Loader object at 0x7f65c3d78940> |
name | 'header.html' |
self | <Engine: app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
skip | None |
tried | [] |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/loaders/cached.py
, line 57, in get_template
if isinstance(cached, type) and issubclass(cached, TemplateDoesNotExist):
raise cached(template_name)
elif isinstance(cached, TemplateDoesNotExist):
raise copy_exception(cached)
return cached
try:
template = super().get_template(template_name, skip)…
except TemplateDoesNotExist as e:
self.get_template_cache[key] = (
copy_exception(e) if self.engine.debug else TemplateDoesNotExist
)
raise
else:
Variable | Value |
---|---|
__class__ | <class 'django.template.loaders.cached.Loader'> |
cached | None |
key | 'header.html' |
self | <django.template.loaders.cached.Loader object at 0x7f65c3d78940> |
skip | None |
template_name | 'header.html' |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/loaders/base.py
, line 28, in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, "Source does not exist"))
continue
else:
return Template(…
contents,
origin,
origin.template_name,
self.engine,
)
Variable | Value |
---|---|
contents | ('{% load static %}\n' '\n' '<!DOCTYPE html>\n' '<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->\n' '<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->\n' '<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->\n' '<!--[if (gte IE 9)|!(IE)]><!-->\n' '\t<html lang="en">\n' '<!--<![endif]-->\n' '\n' '{% load static %}\n' '\n' '<head>\n' ' <meta charset="utf-8">\n' ' <meta http-equiv="X-UA-Compatible" content="IE=edge">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' ' <!-- The above 3 meta tags *must* come first in the head; any other head ' 'content must come *after* these tags -->\n' '\n' ' <!-- Bootstrap CSS -->\n' ' <link ' 'href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" ' 'rel="stylesheet" ' 'integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" ' 'crossorigin="anonymous">\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js" ' 'integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" ' 'crossorigin="anonymous"></script>\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js" ' 'integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" ' 'crossorigin="anonymous"></script>\n' '\n' ' <title>{{ title }}</title>\n' ' <meta name="description" content="{{ description }}" />\n' ' <meta name="keywords" content="{{ keywords }}" />\n' ' <meta name="robots" content="index,follow" />\n' ' <link rel="stylesheet" href="{% static \'osa/css/style.css\' %}" ' 'type="text/css" />\n' ' <!--[if (gte IE 6)&(lte IE 8)]>\n' '\t\t<link rel="stylesheet" href="/static/css/ie_7.css" type="text/css" />\n' '\t<![endif]-->\n' '\t<style type="text/css"></style>\n' " {% if name=='index' %}\n" ' <link rel="stylesheet" href="{% static \'osa/css/prettyPhoto.css\' ' '%}" type="text/css" />\n' ' <link rel="stylesheet" href="{% static \'osa/css/flexslider.css\' ' '%}" type="text/css" />\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery.easing.1.3.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery-ui-1.8.16.custom.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/all-in-one-min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static \'osa/js/setup.js\' ' '%}"></script>\n' ' <script type="text/javascript" src="{% static \'osa/js/main.js\' ' '%}"></script>\n' ' {% endif %}\n' '\n' '\n' '</head>\n' '\n' '<header class="header_bg clearfix">\n' ' <div class="container clearfix">\n' ' <!-- Logo -->\n' ' <div class="logo">\n' ' <a href="/osa/index/index"><img src="{% static ' '\'osa/images/logo.png\' %}" alt="" /></a>\n' ' </div>\n' ' <a href="/osa/index/index" id="logolabel">Old Stone Age</a>\n' ' <!-- /Logo -->\n' '\n' ' <!-- Master Nav -->\n' ' <nav class="main-menu">\n' '\n' ' <ul>\n' ' {{ menu|safe }}\n' ' </ul>\n' '\n' ' </nav>\n' ' <!-- /Master Nav -->\n' ' </div>\n' '</header>\n') |
origin | <Origin name='/home/shannon/webapps/osa/myproject/osa/templates/header.html'> |
self | <django.template.loaders.cached.Loader object at 0x7f65c3d78940> |
skip | None |
template_name | 'header.html' |
tried | [(<Origin name='/home/shannon/webapps/lib/python3.8/site-packages/django/contrib/admin/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/lib/python3.8/site-packages/django/contrib/auth/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/lib/python3.8/site-packages/crispy_bootstrap5/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/lib/python3.8/site-packages/rest_framework/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/piv/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/pivl8/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/cc/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/testsite/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/at2/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/bk/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/lf/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/fc/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/rdm/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/asps/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/plot/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/labels/templates/header.html'>, 'Source does not exist'), (<Origin name='/home/shannon/webapps/osa/myproject/orientations/templates/header.html'>, 'Source does not exist')] |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 154, in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = str(template_string) # May be lazy.
self.nodelist = self.compile_nodelist()…
def __iter__(self):
for node in self.nodelist:
yield from node
def __repr__(self):
Variable | Value |
---|---|
engine | <Engine: app_dirs=True context_processors=['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages'] debug=True loaders=[('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])] string_if_invalid='' file_charset='utf-8' libraries={'cache': 'django.templatetags.cache', 'i18n': 'django.templatetags.i18n', 'l10n': 'django.templatetags.l10n', 'static': 'django.templatetags.static', 'tz': 'django.templatetags.tz', 'admin_list': 'django.contrib.admin.templatetags.admin_list', 'admin_modify': 'django.contrib.admin.templatetags.admin_modify', 'admin_urls': 'django.contrib.admin.templatetags.admin_urls', 'log': 'django.contrib.admin.templatetags.log', 'crispy_forms_field': 'crispy_forms.templatetags.crispy_forms_field', 'crispy_forms_filters': 'crispy_forms.templatetags.crispy_forms_filters', 'crispy_forms_tags': 'crispy_forms.templatetags.crispy_forms_tags', 'crispy_forms_utils': 'crispy_forms.templatetags.crispy_forms_utils', 'rest_framework': 'rest_framework.templatetags.rest_framework'} builtins=['django.template.defaulttags', 'django.template.defaultfilters', 'django.template.loader_tags'] autoescape=True> |
name | 'header.html' |
origin | <Origin name='/home/shannon/webapps/osa/myproject/osa/templates/header.html'> |
self | <Template template_string="{% load static %}<..."> |
template_string | ('{% load static %}\n' '\n' '<!DOCTYPE html>\n' '<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->\n' '<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->\n' '<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->\n' '<!--[if (gte IE 9)|!(IE)]><!-->\n' '\t<html lang="en">\n' '<!--<![endif]-->\n' '\n' '{% load static %}\n' '\n' '<head>\n' ' <meta charset="utf-8">\n' ' <meta http-equiv="X-UA-Compatible" content="IE=edge">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' ' <!-- The above 3 meta tags *must* come first in the head; any other head ' 'content must come *after* these tags -->\n' '\n' ' <!-- Bootstrap CSS -->\n' ' <link ' 'href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" ' 'rel="stylesheet" ' 'integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" ' 'crossorigin="anonymous">\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js" ' 'integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" ' 'crossorigin="anonymous"></script>\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js" ' 'integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" ' 'crossorigin="anonymous"></script>\n' '\n' ' <title>{{ title }}</title>\n' ' <meta name="description" content="{{ description }}" />\n' ' <meta name="keywords" content="{{ keywords }}" />\n' ' <meta name="robots" content="index,follow" />\n' ' <link rel="stylesheet" href="{% static \'osa/css/style.css\' %}" ' 'type="text/css" />\n' ' <!--[if (gte IE 6)&(lte IE 8)]>\n' '\t\t<link rel="stylesheet" href="/static/css/ie_7.css" type="text/css" />\n' '\t<![endif]-->\n' '\t<style type="text/css"></style>\n' " {% if name=='index' %}\n" ' <link rel="stylesheet" href="{% static \'osa/css/prettyPhoto.css\' ' '%}" type="text/css" />\n' ' <link rel="stylesheet" href="{% static \'osa/css/flexslider.css\' ' '%}" type="text/css" />\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery.easing.1.3.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/jquery-ui-1.8.16.custom.min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static ' '\'osa/js/all-in-one-min.js\' %}"></script>\n' ' <script type="text/javascript" src="{% static \'osa/js/setup.js\' ' '%}"></script>\n' ' <script type="text/javascript" src="{% static \'osa/js/main.js\' ' '%}"></script>\n' ' {% endif %}\n' '\n' '\n' '</head>\n' '\n' '<header class="header_bg clearfix">\n' ' <div class="container clearfix">\n' ' <!-- Logo -->\n' ' <div class="logo">\n' ' <a href="/osa/index/index"><img src="{% static ' '\'osa/images/logo.png\' %}" alt="" /></a>\n' ' </div>\n' ' <a href="/osa/index/index" id="logolabel">Old Stone Age</a>\n' ' <!-- /Logo -->\n' '\n' ' <!-- Master Nav -->\n' ' <nav class="main-menu">\n' '\n' ' <ul>\n' ' {{ menu|safe }}\n' ' </ul>\n' '\n' ' </nav>\n' ' <!-- /Master Nav -->\n' ' </div>\n' '</header>\n') |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 200, in compile_nodelist
tokens,
self.engine.template_libraries,
self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()…
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
lexer | <DebugLexer template_string="{% load static %}<...", verbatim=False> |
parser | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
self | <Template template_string="{% load static %}<..."> |
tokens | [<Block token: "load static...">, <Text token: "<!DOCTYPE html><!...">, <Block token: "load static...">, <Text token: "<head> <meta c...">, <Var token: "title...">, <Text token: "</title> <meta n...">, <Var token: "description...">, <Text token: "" /> <meta name=...">, <Var token: "keywords...">, <Text token: "" /> <meta name=...">, <Block token: "static 'osa/css/styl...">, <Text token: "" type="text/css" />...">, <Block token: "if name=='index'...">, <Text token: " <link rel="...">, <Block token: "static 'osa/css/pret...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "endif...">, <Text token: "</head><header ...">, <Block token: "static 'osa/images/l...">, <Text token: "" alt="" /></a> ...">, <Var token: "menu|safe...">, <Text token: " </ul>...">] |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 513, in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)…
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | 'if' |
compile_func | <function do_if at 0x7f65d12edee0> |
compiled_result | StaticNode(varname=None, path=<FilterExpression "'osa/css/style.css'">) |
filter_expression | <FilterExpression 'keywords'> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f65c1cb3c40>, <TextNode: '\n\n<!DOCTYPE html>\n<!--[if'>, <django.template.defaulttags.LoadNode object at 0x7f65c1cb3cd0>, <TextNode: '\n\n<head>\n <meta charse'>, <Variable Node: title>, <TextNode: '</title>\n <meta name="'>, <Variable Node: description>, <TextNode: '" />\n <meta name="keyw'>, <Variable Node: keywords>, <TextNode: '" />\n <meta name="robo'>, StaticNode(varname=None, path=<FilterExpression "'osa/css/style.css'">), <TextNode: '" type="text/css" />\n '>] |
parse_until | [] |
self | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
token | <Block token: "if name=='index'..."> |
token_type | 2 |
var_node | <Variable Node: keywords> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 511, in parse
try:
compile_func = self.tags[command]
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)…
except Exception as e:
raise self.error(token, e)
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
Variable | Value |
---|---|
command | 'if' |
compile_func | <function do_if at 0x7f65d12edee0> |
compiled_result | StaticNode(varname=None, path=<FilterExpression "'osa/css/style.css'">) |
filter_expression | <FilterExpression 'keywords'> |
nodelist | [<django.template.defaulttags.LoadNode object at 0x7f65c1cb3c40>, <TextNode: '\n\n<!DOCTYPE html>\n<!--[if'>, <django.template.defaulttags.LoadNode object at 0x7f65c1cb3cd0>, <TextNode: '\n\n<head>\n <meta charse'>, <Variable Node: title>, <TextNode: '</title>\n <meta name="'>, <Variable Node: description>, <TextNode: '" />\n <meta name="keyw'>, <Variable Node: keywords>, <TextNode: '" />\n <meta name="robo'>, StaticNode(varname=None, path=<FilterExpression "'osa/css/style.css'">), <TextNode: '" type="text/css" />\n '>] |
parse_until | [] |
self | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
token | <Block token: "if name=='index'..."> |
token_type | 2 |
var_node | <Variable Node: keywords> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/defaulttags.py
, line 952, in do_if
All supported operators are: ``or``, ``and``, ``in``, ``not in``
``==``, ``!=``, ``>``, ``>=``, ``<`` and ``<=``.
Operator precedence follows Python.
"""
# {% if ... %}
bits = token.split_contents()[1:]
condition = TemplateIfParser(parser, bits).parse()…
nodelist = parser.parse(("elif", "else", "endif"))
conditions_nodelists = [(condition, nodelist)]
token = parser.next_token()
# {% elif ... %} (repeatable)
while token.contents.startswith("elif"):
Variable | Value |
---|---|
bits | ["name=='index'"] |
parser | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
token | <Block token: "if name=='index'..."> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/defaulttags.py
, line 885, in __init__
class TemplateIfParser(IfParser):
error_class = TemplateSyntaxError
def __init__(self, parser, *args, **kwargs):
self.template_parser = parser
super().__init__(*args, **kwargs)…
def create_var(self, value):
return TemplateLiteral(self.template_parser.compile_filter(value), value)
@register.tag("if")
Variable | Value |
---|---|
__class__ | <class 'django.template.defaulttags.TemplateIfParser'> |
args | (["name=='index'"],) |
kwargs | {} |
parser | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
self | <django.template.defaulttags.TemplateIfParser object at 0x7f65c28a9ac0> |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/smartif.py
, line 170, in __init__
token = tokens[i]
if token == "is" and i + 1 < num_tokens and tokens[i + 1] == "not":
token = "is not"
i += 1 # skip 'not'
elif token == "not" and i + 1 < num_tokens and tokens[i + 1] == "in":
token = "not in"
i += 1 # skip 'in'
mapped_tokens.append(self.translate_token(token))…
i += 1
self.tokens = mapped_tokens
self.pos = 0
self.current_token = self.next_token()
Variable | Value |
---|---|
i | 0 |
mapped_tokens | [] |
num_tokens | 1 |
self | <django.template.defaulttags.TemplateIfParser object at 0x7f65c28a9ac0> |
token | "name=='index'" |
tokens | ["name=='index'"] |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/smartif.py
, line 181, in translate_token
self.pos = 0
self.current_token = self.next_token()
def translate_token(self, token):
try:
op = OPERATORS[token]
except (KeyError, TypeError):
return self.create_var(token)…
else:
return op()
def next_token(self):
if self.pos >= len(self.tokens):
return EndToken
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7f65c28a9ac0> |
token | "name=='index'" |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/defaulttags.py
, line 888, in create_var
error_class = TemplateSyntaxError
def __init__(self, parser, *args, **kwargs):
self.template_parser = parser
super().__init__(*args, **kwargs)
def create_var(self, value):
return TemplateLiteral(self.template_parser.compile_filter(value), value)…
@register.tag("if")
def do_if(parser, token):
"""
Evaluate a variable, and if that variable is "true" (i.e., exists, is not
Variable | Value |
---|---|
self | <django.template.defaulttags.TemplateIfParser object at 0x7f65c28a9ac0> |
value | "name=='index'" |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 600, in compile_filter
self.tags.update(lib.tags)
self.filters.update(lib.filters)
def compile_filter(self, token):
"""
Convenient wrapper for FilterExpression
"""
return FilterExpression(token, self)…
def find_filter(self, filter_name):
if filter_name in self.filters:
return self.filters[filter_name]
else:
raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name)
Variable | Value |
---|---|
self | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
token | "name=='index'" |
/home/shannon/webapps/lib/python3.8/site-packages/django/template/base.py
, line 703, in __init__
elif var_arg:
args.append((True, Variable(var_arg)))
filter_func = parser.find_filter(filter_name)
self.args_check(filter_name, filter_func, args)
filters.append((filter_func, args))
upto = match.end()
if upto != len(token):
raise TemplateSyntaxError(…
"Could not parse the remainder: '%s' "
"from '%s'" % (token[upto:], token)
)
self.filters = filters
self.var = var_obj
Variable | Value |
---|---|
constant | None |
filters | [] |
match | <re.Match object; span=(0, 4), match='name'> |
matches | <callable_iterator object at 0x7f65c28a9310> |
parser | <Parser tokens=[<Text token: " </ul>...">, <Var token: "menu|safe...">, <Text token: "" alt="" /></a> ...">, <Block token: "static 'osa/images/l...">, <Text token: "</head><header ...">, <Block token: "endif...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/main....">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/setup...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/all-i...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: ""></script> ...">, <Block token: "static 'osa/js/jquer...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/flex...">, <Text token: "" type="text/css" />...">, <Block token: "static 'osa/css/pret...">, <Text token: " <link rel="...">]> |
self | <FilterExpression "name=='index'"> |
start | 0 |
token | "name=='index'" |
upto | 4 |
var | 'name' |
var_obj | <Variable: 'name'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'oldstoneage.com' |
HTTP_REFERER | 'https://oldstoneage.com/osa/ap/the_team' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '52.54.111.228' |
HTTP_X_FORWARDED_HOST | 'oldstoneage.com' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '52.54.111.228,52.54.111.228' |
PATH_INFO | '/osa/ap/the_team/' |
QUERY_STRING | '' |
RAW_URI | '/osa/ap/the_team/' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'oldstoneage.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/shannon/webapps/osa/myproject/myproject.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f65c2951e50> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f65c2951940> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
myproject.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', '.oldstoneage.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/shannon/webapps/osa/myproject') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CRISPY_ALLOWED_TEMPLATE_PACKS | 'bootstrap5' |
CRISPY_TEMPLATE_PACK | 'bootstrap5' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'asps': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/asps.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'at2': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/at2.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'bk': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/bk.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'cc': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/cc.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/osa.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'fc': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/fc.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'labels': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/labels.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'lf': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/lf.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'pivl8': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/pivl8.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'rdm': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/rdm.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}, 'testsite': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/home/shannon/webapps/osa/myproject/testsite.sqlite'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | ['osa.router.osaDB', 'pivl8.router.pivl8DB', 'cc.router.ccDB', 'testsite.router.testsiteDB', 'at2.router.at2DB', 'lf.router.lfDB', 'rdm.router.rdmDB', 'asps.router.aspsDB', 'fc.router.fcDB', 'bk.router.bkDB', 'labels.router.labelsDB'] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.console.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_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'crispy_forms', 'crispy_bootstrap5', 'rest_framework', 'rest_framework.authtoken', 'piv.apps.PIVConfig', 'pivl8.apps.PIVL8Config', 'cc.apps.CCConfig', 'testsite.apps.TESTSITEConfig', 'at2.apps.AT2Config', 'bk.apps.BKConfig', 'lf.apps.LFConfig', 'fc.apps.FCConfig', 'rdm.apps.RDMConfig', 'asps.apps.ASPSConfig', 'plot.apps.PlotConfig', 'labels.apps.LabelsConfig', 'orientations.apps.OrientationsConfig', 'api.apps.APIConfig', 'osa.apps.OSAexpConfig'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('ckb', 'Central Kurdish (Sorani)'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'Admin' |
LOGIN_URL | 'Login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIAFILES_DIRS | ['/home/shannon/webapps/osa/myproject/static', '/home/shannon/webapps/osa/myproject/cc/static', '/home/shannon/webapps/osa/myproject/fc/static', '/home/shannon/webapps/osa/myproject/sites/static', '/home/shannon/webapps/osa/myproject/osa/static', '/home/shannon/webapps/osa/myproject/bk/static', '/home/shannon/webapps/osa/myproject/lf/static', '/home/shannon/webapps/osa/myproject/rdm/static', '/home/shannon/webapps/osa/myproject/asps/static', '/home/shannon/webapps/osa/myproject/fc/static'] |
MEDIA_ROOT | 'media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication'], 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated']} |
ROOT_URLCONF | 'myproject.urls' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'myproject.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/shannon/webapps/static/' |
STATIC_URL | '/static/' |
STORAGES | {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}} |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
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 | 'CET' |
USE_DEPRECATED_PYTZ | False |
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 | 'myproject.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.