No template names provided
Request Method: | GET |
---|---|
Request URL: | http://feeds.duhaz.fr/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/ |
Django Version: | 3.2.23 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | No template names provided |
Exception Location: | /usr/local/lib/python3.12/site-packages/django/template/backends/django.py, line 84, in reraise |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.12.1 |
Python Path: | ['/mnt/projet', '/usr/local/bin', '/usr/local/lib/python312.zip', '/usr/local/lib/python3.12', '/usr/local/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/site-packages', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf', '/usr/local/lib/python3.12/site-packages/odf'] |
Server time: | Fri, 29 Mar 2024 12:32:08 +0100 |
Django tried loading these templates, in this order:
Using engine django
:
In template /mnt/projet/core/templates/base.html
, error at line 142
132 | {% endif %} |
---|---|
133 | {% if page.p_include %} |
134 | {% include page.p_include %} |
135 | {% else %} |
136 | {% block main %}{% endblock %} |
137 | {% endif %} |
138 | </div> |
139 | </div> |
140 | <div class="col-lg-3 p-lg-1 p-md-0 mb-sm-1"> |
141 | {% if page.c_card_rp == 'True'%}<div class="card" style="background-color: rgba(250,250,250,0.88);" >{% endif %} |
142 | {% if page.c_includ_rp != 'None'%}{% include page.c_includ_rp %}{% endif %} |
143 | {% block right_panel %} |
144 | {% endblock %} |
145 | {% if not request.user.is_authenticated and page.p_right and not "account/" in request.path %} |
146 | <div class="card-body"> |
147 | <h5 class="card-title"> Une Pub </h5> |
148 | <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> |
149 | <!-- Pub-1 --> |
150 | <ins class="adsbygoogle" |
151 | style="display:block" |
152 | data-ad-client="ca-pub-0171697375250839" |
/usr/local/lib/python3.12/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
request | <WSGIRequest: GET '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/'> |
self | <django.template.backends.django.Template object at 0x7f98354e30> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 170, 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}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <django.template.base.Template object at 0x7f97bd13a0> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <django.template.base.Template object at 0x7f97bd13a0> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <ExtendsNode: extends 'base.html'> |
/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py
, line 150, in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f97937410> |
blocks | {'add_meta_description': <Block Node: add_meta_description. Contents: []>, 'left_panel': <Block Node: left_panel. Contents: [<TextNode: '\n\t\t'>]>, 'main': <Block Node: main. Contents: []>, 'modals': <Block Node: modals. Contents: []>, 'right_panel': <Block Node: right_panel. Contents: [<TextNode: '\n\t\t\t\t'>]>, 'script': <Block Node: script. Contents: [<TextNode: '\n'>]>, 'title': <Block Node: title. Contents: [<IfNode>, <Variable Node: page.p_titre|safe>]>} |
compiled_parent | <django.template.base.Template object at 0x7f983af050> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f9775cef0> |
self | <ExtendsNode: extends 'base.html'> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <django.template.base.Template object at 0x7f983af050> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\t\t\t\t' |
bits | ['', '\n' '<!DOCTYPE html>\n' '<html lang="fr" class="h-100">\n' '<head>\n' '\t<meta charset="utf-8">\n' '\t<meta name="viewport" content="width=device-width, initial-scale=1, ' 'shrink-to-fit=no">\n' '\t<meta name="keywords" content="', '', '">\n\t<meta name="description" content="', '', '">\n\t', '', '\n\t<title>', '', '', '</title>\n' '\t<link rel="shortcut icon" href="/static/favicon.ico">\n' '\t<link rel="stylesheet" ' 'href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" ' 'integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" ' 'crossorigin="anonymous">\n' '\t<link href="//fonts.googleapis.com/css2?family=Kufam&display=swap" ' 'rel="stylesheet">\n' '\t<script src="https://kit.fontawesome.com/7cf2a101ac.js"></script>\n' '\t', '\n' '\t\t<script data-ad-client="ca-pub-0171697375250839" async ' 'src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>\n' '\t', '\n' '\t<style type="text/css">\n' '\t\timg {\n' '\t\t\tdisplay: block;\n' '\t\t\tmax-width: 100%;\n' '\t\t\theight: auto;\n' '\t\t}\n' '\t\tbody {\n' '\t\t\tbackground-color:black;\n' "\t\t\tbackground-image: url('", '/static/', "'), url('", '/static/', "') ;\n" '\t\t\tbackground-position: 96% 95%, center ;\n' '\t\t\tbackground-size: 20%,cover;\n' '\t\t\tbackground-repeat: no-repeat;\n' '\t\t\tbackground-attachment: fixed;\n' '\t\t\tfont-size: 15px;\n' '\t\t}\n' '\t</style>\n' '</head>\n' '<body class="d-flex flex-column h-100">\n' '\t<header style="color: #fff; font-family: Kufam\', cursive;">\n' '\t<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: ', '', ';"> \n' '\t\t<div class="container-fluid">\n' '\t\t<div class="collapse navbar-collapse" id="navbarSupportedContent">\n' '\t\t<a class="navbar-brand" href="', '/', '"><i class="', '', '"></i> ', '', ' </a>\n\t\t', '', '\n\t\t', '', '\n' '\t\t</div>\n' '\t\t<div class="pos-f-t d-lg-none justify-content-end">\n' '\t\t\t<a class="navbar-brand" href="', '/', '"><i class="', '', '"></i> ', '', ' </a>\n' '\t\t<div class="collapse" id="navbarToggleExternalContent">\n' '\t\t\t<div class="p-3" style="background-color: ', '', ';">\n\t\t\t\t', '', '\n' '\t\t\t</div>\n' '\t\t</div>\n' '\t\t<nav class="navbar navbar-dark" style="background-color: ', '', ';">\n' '\t\t\t<button class="navbar-toggler" type="button" data-toggle="collapse" ' 'data-target="#navbarToggleExternalContent" ' 'aria-controls="navbarToggleExternalContent" aria-expanded="false" ' 'aria-label="Toggle navigation">\n' '\t\t\t<span class="navbar-toggler-icon"></span>\n' '\t\t\t </button>\n' '\t\t</nav>\n' '\t\t</div>\n' '\t</div>\n' '\t</nav>\n' '</header>\n' '<main role="main" class="flex-shrink-0">\n' '<div class="container-fluid mw-100">\n' '\t<div class="row p-2">\n' '\t\t', '\n\t\t', '\n\t\t<div class="col-lg-9 p-lg-1 p-md-0 mb-sm-1">\n\t\t\t', '', '\n\t\t\t', '\n\t\t\t\t<div>\t\n\t\t\t', '\n\t\t\t', '\n' '\t\t\t\t\n' '<div class="card text-center mx-auto m-3 border-light " style="width: ' '32rem;">\n' '\t<img src="/static/img/img-404.jpg" class="card-img-top">\n' '\t<div class="card-body">\n' '\t\t<p>Désoler, nous l’avons bien cherché, mais nous ne l’avons pas trouvé. ' 'Cette page n’est surement plus d’actualité.</p>\n' '\t</div>\n' '</div>\n' '\n' '\t\t\t', '\n' '\t\t\t</div>\n' '\t\t</div>\n' '\t\t<div class="col-lg-3 p-lg-1 p-md-0 mb-sm-1">\n' '\t\t\t', '', '\n\t\t\t\t'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
node | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x7f9775cef0>, <TextNode: '\n<!DOCTYPE html>\n<html la'>, <IfNode>, <TextNode: '">\n\t<meta name="descripti'>, <IfNode>, <TextNode: '">\n\t'>, <Block Node: add_meta_description. Contents: []>, <TextNode: '\n\t<title>'>, <Variable Node: page.c_sitename>, <IfNode>, <TextNode: '</title>\n\t<link rel="shor'>, <IfNode>, <TextNode: '\n\t<style type="text/css">'>, <django.templatetags.static.StaticNode object at 0x7f97293c20>, <TextNode: "'), url('">, <django.templatetags.static.StaticNode object at 0x7f97293950>, <TextNode: "') ;\n\t\t\tbackground-positi">, <Variable Node: page.c_bgcolor>, <TextNode: ';"> \n\t\t<div class="contai'>, <django.template.defaulttags.URLNode object at 0x7f97292960>, <TextNode: '"><i class="'>, <Variable Node: page.c_sitelogo>, <TextNode: '"></i> '>, <Variable Node: page.c_sitename>, <TextNode: ' </a>\n\t\t'>, <IfNode>, <TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t</div>\n\t\t<div class="p'>, <django.template.defaulttags.URLNode object at 0x7f977abc80>, <TextNode: '"><i class="'>, <Variable Node: page.c_sitelogo>, <TextNode: '"></i> '>, <Variable Node: page.c_sitename>, <TextNode: ' </a>\n\t\t<div class="colla'>, <Variable Node: page.c_bgcolor>, <TextNode: ';">\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t</div>\n\t\t</div>\n\t\t<na'>, <Variable Node: page.c_bgcolor>, <TextNode: ';">\n\t\t\t<button class="nav'>, <Block Node: left_panel. Contents: [<TextNode: '\n\t\t'>]>, <TextNode: '\n\t\t<div class="col-lg-9 p'>, <IfNode>, <TextNode: '\n\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t</div>\n\t\t</div>\n\t\t<di'>, <IfNode>, <TextNode: '\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t'>, <Block Node: right_panel. Contents: [<TextNode: '\n\t\t\t\t'>]>, <TextNode: '\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t'>, <IfNode>, <TextNode: '\n\t\t</div>\n\t</div>\n</div>\n'>, <Variable Node: page.c_bgcolor>, <TextNode: ';">\n\t<div class="containe'>, <Variable Node: page.c_sitename>, <TextNode: ' - Jan. 2024\n\t\t'>, <IfNode>, <TextNode: '\n\t</div>\n</footer>\n'>, <Block Node: modals. Contents: []>, <TextNode: '\n<script src="https://cdn'>, <Block Node: script. Contents: [<TextNode: '\n'>]>, <TextNode: '\n</body>\n</html>\n'>] |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <IfNode> |
/usr/local/lib/python3.12/site-packages/django/template/defaulttags.py
, line 315, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (!= (literal <django.template.base.FilterExpression object at 0x7f974a94f0>) (literal <django.template.base.FilterExpression object at 0x7f974ab200>)) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
match | True |
nodelist | [<django.template.loader_tags.IncludeNode object at 0x7f974ab560>] |
self | <IfNode> |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
node | <django.template.loader_tags.IncludeNode object at 0x7f974ab560> |
self | [<django.template.loader_tags.IncludeNode object at 0x7f974ab560>] |
/usr/local/lib/python3.12/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f974ab560> |
/usr/local/lib/python3.12/site-packages/django/template/loader_tags.py
, line 183, in render
template_name,
),)
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)
Variable | Value |
---|---|
cache | {} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f974ab560> |
template | None |
template_name | () |
/usr/local/lib/python3.12/site-packages/django/template/engine.py
, line 170, in select_template
return t.render(Context(context, autoescape=self.autoescape))
def select_template(self, template_name_list):
"""
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:
Variable | Value |
---|---|
self | <django.template.engine.Engine object at 0x7f983c9cd0> |
template_name_list | () |
/usr/local/lib/python3.12/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
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 | TemplateDoesNotExist('No template names provided') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f983d3b30>> |
request | <WSGIRequest: GET '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/'> |
/usr/local/lib/python3.12/site-packages/django/core/handlers/base.py
, line 204, in _get_response
response,
middleware_method,
name='%s.process_template_response' % (
middleware_method.__self__.__class__.__name__,
)
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function TemplateView at 0x7f97ac5620> |
callback_args | () |
callback_kwargs | {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f98296690>> |
request | <WSGIRequest: GET '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f983d3b30> |
wrapped_callback | <function TemplateView at 0x7f97ac5620> |
/usr/local/lib/python3.12/site-packages/django/template/response.py
, line 105, in render
If the content has already been rendered, this is a no-op.
Return the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content…
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/local/lib/python3.12/site-packages/django/template/response.py
, line 83, in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
return template.render(context, self._request)…
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
If the response has already been rendered,
invoke the callback immediately.
Variable | Value |
---|---|
context | {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f98354e30> |
/usr/local/lib/python3.12/site-packages/django/template/backends/django.py
, line 63, 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):
"""
Create a new TemplateDoesNotExist. Preserve its declared attributes and
template debug data but discard __traceback__, __context__, and __cause__
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page_slug': 'fiche/99-comme-un-pingouin-dans-le-desert/', 'view': <django.views.generic.base.TemplateView object at 0x7f974b4ef0>}] |
request | <WSGIRequest: GET '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/'> |
self | <django.template.backends.django.Template object at 0x7f98354e30> |
/usr/local/lib/python3.12/site-packages/django/template/backends/django.py
, line 84, in reraise
def reraise(exc, backend):
"""
Reraise TemplateDoesNotExist while maintaining template debug information.
"""
new = copy_exception(exc, backend)
raise new from exc…
def get_installed_libraries():
"""
Return the built-in template tag libraries and those from installed
applications. Libraries are stored in a dictionary where keys are the
Variable | Value |
---|---|
backend | <django.template.backends.django.DjangoTemplates object at 0x7f982ce930> |
exc | TemplateDoesNotExist('No template names provided') |
new | TemplateDoesNotExist('No template names provided') |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip' |
HTTP_HOST | 'feeds.duhaz.fr' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.236.234.62' |
HTTP_X_FORWARDED_HOST | 'feeds.duhaz.fr' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/' |
QUERY_STRING | '' |
RAW_URI | '/annuaire/fiche/99-comme-un-pingouin-dans-le-desert/' |
REMOTE_ADDR | '172.18.0.2' |
REMOTE_PORT | '49392' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8080' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/21.2.0' |
gunicorn.socket | <socket.socket fd=3, family=2, type=1, proto=0, laddr=('172.18.0.5', 8080), raddr=('172.18.0.2', 49392)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f974b62c0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f974b7fe0> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
setting.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('social_core.backends.twitter.TwitterOAuth', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/mnt/projet') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mariadb', 'NAME': 'rss2mail', 'OPTIONS': {'charset': 'utf8mb4'}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 5000 |
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_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'mail.duhaz.fr' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'no-reply@duhaz.fr' |
EMAIL_PORT | 587 |
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 | True |
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.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'social_django', 'trumbowyg', 'import_export', 'crispy_forms', 'core', 'task', 'flux', 'user_ext') |
INTERNAL_IPS | ('127.0.0.1',) |
LANGUAGES | [('fr-FR', 'Français')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', '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 | 'core_index' |
LOGIN_URL | 'login' |
LOGOUT_REDIRECT_URL | None |
LOGOUT_URL | 'logout' |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.middleware.locale.LocaleMiddleware', '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' |
NEVERCACHE_KEY | '********************' |
NUMBER_GROUPING | 0 |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'setting.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
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 | 172800 |
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 | 'setting.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SOCIAL_AUTH_FACEBOOK_KEY | '********************' |
SOCIAL_AUTH_FACEBOOK_SCOPE | ['email'] |
SOCIAL_AUTH_FACEBOOK_SECRET | '********************' |
SOCIAL_AUTH_TWITTER_KEY | '********************' |
SOCIAL_AUTH_TWITTER_SECRET | '********************' |
STATICFILES_DIRS | [PosixPath('/mnt/projet/static')] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ('social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n')}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Paris' |
TRUMBOWYG_SEMANTIC | 'true' |
USE_I18N | False |
USE_L10N | True |
USE_SOUTH | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
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.