No template names provided
Request Method: | GET |
---|---|
Request URL: | http://tools.duhaz.fr/noms_de_domaine |
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: | Tue, 19 Mar 2024 10:26:45 +0000 |
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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
request | <WSGIRequest: GET '/noms_de_domaine'> |
self | <django.template.backends.django.Template object at 0x7f9b52d820> |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
self | <django.template.base.Template object at 0x7f9b4773e0> |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
self | <django.template.base.Template object at 0x7f9b4773e0> |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
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 0x7f9b2293a0> |
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 0x7f9b21deb0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
node | <django.template.defaulttags.LoadNode object at 0x7f9b51f9e0> |
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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
self | <django.template.base.Template object at 0x7f9b21deb0> |
/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>', 'Les Outils de Mr Duhaz', ' | Noms de domaine', '</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/uploads/logo-txt-Mrduhaz.png', "'), url('", '/static/uploads/background.jpeg', "') ;\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: ', '#093554', ';"> \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="', 'fas fa-tools', '"></i> ', 'Les Outils de Mr Duhaz', ' </a>\n\t\t', '\n' '\t\t<ul class="navbar-nav mr-auto">\n' '\t\t\n' '\n' '\t\t\n' '\t\t\t\n' '\t\t\t<div class="navbar-nav dropdown">\n' '\t\t\t<a class="nav-link dropdown-toggle" href="#" ' 'id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" ' 'aria-expanded="false"><i class="fas fa-bars" ></i> Noms de domaine</a>\n' '\t\t\t\t<div class="dropdown-menu" ' 'aria-labelledby="navbarDropdownMenuLink">\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href="/noms_de_domaine/whois">Whois ' 'd'un nom de domaine</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" ' 'href="/noms_de_domaine/dig">Récupération de la zone DNS d'un domaine ' 'sur différent serveur</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" ' 'href="/noms_de_domaine/dig_a">Récupération de IP lié a un enregistrement ' 'DNS</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href=".">Test de zone DNS pour les ' 'validations DV</a></li>\n' '\t\t\t\t\n' '\t\t\t\t</div>\n' '\t\t\t</div>\n' '\t\t\t\n' '\t\t\n' '\t\t\t\n' '\t\t\t<div class="navbar-nav dropdown">\n' '\t\t\t<a class="nav-link dropdown-toggle" href="#" ' 'id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" ' 'aria-expanded="false"><i class="fas fa-bars" ></i> Les SSL</a>\n' '\t\t\t\t<div class="dropdown-menu" ' 'aria-labelledby="navbarDropdownMenuLink">\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href=".">Générateur de KEY et ' 'CSR</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href=".">Générateur de PFX</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href="/ssl/decode_csr">Décodage de ' 'CSR</a></li>\n' '\t\t\t\t\n' '\t\t\t\t\t<a class="dropdown-item" href="/ssl/decode_crt">Décodage de ' 'CRT</a></li>\n' '\t\t\t\t\n' '\t\t\t\t</div>\n' '\t\t\t</div>\n' '\t\t\t\n' '\t\t\n' '\t\t\t\n' '\t\t\t<div class="navbar-nav dropdown">\n' '\t\t\t<a class="nav-link dropdown-toggle" href="#" ' 'id="navbarDropdownMenuLink" data-… <trimmed 8482 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
node | <IfNode> |
self | [<django.template.defaulttags.LoadNode object at 0x7f9b51f9e0>, <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 0x7f9b1a4590>, <TextNode: "'), url('">, <django.templatetags.static.StaticNode object at 0x7f9b51f8c0>, <TextNode: "') ;\n\t\t\tbackground-positi">, <Variable Node: page.c_bgcolor>, <TextNode: ';"> \n\t\t<div class="contai'>, <django.template.defaulttags.URLNode object at 0x7f9b3cfda0>, <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 0x7f9b232bd0>, <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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
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 0x7f9b1b7650>) (literal <django.template.base.FilterExpression object at 0x7f9b1b61b0>)) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
match | True |
nodelist | [<django.template.loader_tags.IncludeNode object at 0x7f9b1b6d80>] |
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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
node | <django.template.loader_tags.IncludeNode object at 0x7f9b1b6d80> |
self | [<django.template.loader_tags.IncludeNode object at 0x7f9b1b6d80>] |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f9b1b6d80> |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f9b1b6d80> |
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 0x7f9c34e930> |
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 0x7f9b89b7a0>> |
request | <WSGIRequest: GET '/noms_de_domaine'> |
/usr/local/lib/python3.12/site-packages/django/core/handlers/base.py
, line 181, 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 asyncio.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 page at 0x7f9b5c89a0> |
callback_args | () |
callback_kwargs | {'p_url': 'noms_de_domaine'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f9b75ee40>> |
request | <WSGIRequest: GET '/noms_de_domaine'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9b89b7a0> |
wrapped_callback | <function page at 0x7f9b5c89a0> |
/mnt/projet/core/views.py
, line 179, in page
except:
page = gen_page_base()
page.p_contenu = "<h1>Erreur la page demandé n'existe pas </h1>"
context = {
'page' : page,
}
return HttpResponse(template.render(context, request))…
def contact(request,):
page = gen_page_base()
template = loader.get_template('page.html')
page.p_titre = "Nous Contacter"
page.p_description = "Formulaire de prise de contact"
Variable | Value |
---|---|
context | {'page': <Page: Noms de domaine>} |
p_url | '/noms_de_domaine' |
page | <Page: Noms de domaine> |
request | <WSGIRequest: GET '/noms_de_domaine'> |
template | <django.template.backends.django.Template object at 0x7f9b52d820> |
/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': <Page: Noms de domaine>, 'menu_with_parent': [GroupedResult(grouper=<Page: Noms de domaine>, list=[<Page: Whois d'un nom de domaine>, <Page: Récupération de la zone DNS d'un domaine sur différent serveur>, <Page: Récupération de IP lié a un enregistrement DNS>, <Page: Test de zone DNS pour les validations DV>]), GroupedResult(grouper=<Page: Les SSL>, list=[<Page: Générateur de KEY et CSR>, <Page: Générateur de PFX>, <Page: Décodage de CSR>, <Page: Décodage de CRT>]), GroupedResult(grouper=<Page: Les Outils pour Youtube>, list=[<Page: Partager ma vidéo>, <Page: Récupérer les vignettes>, <Page: Télécharger une miniature>, <Page: Editer une miniature>, <Page: Récupérer les tags>])]}] |
request | <WSGIRequest: GET '/noms_de_domaine'> |
self | <django.template.backends.django.Template object at 0x7f9b52d820> |
/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 0x7f9b7e68d0> |
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 | 'tools.duhaz.fr' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.85.63.190' |
HTTP_X_FORWARDED_HOST | 'tools.duhaz.fr' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/noms_de_domaine' |
QUERY_STRING | '' |
RAW_URI | '/noms_de_domaine' |
REMOTE_ADDR | '172.18.0.2' |
REMOTE_PORT | '40058' |
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=9, family=2, type=1, proto=0, laddr=('172.18.0.6', 8080), raddr=('172.18.0.2', 40058)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9b476a70> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f9b477fe0> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
duhaz_tools.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | 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_ALLOWED_TEMPLATE_PACKS | 'bootstrap4' |
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.sqlite3', 'HOST': '', 'NAME': PosixPath('/mnt/projet/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
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 | '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', 'import_export', 'trumbowyg', 'crispy_forms', 'core', 't_youtube', 't_ndd', 't_ssl'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-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 | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
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 | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'duhaz_tools.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 | 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 | 'duhaz_tools.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 | [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': ['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 | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'duhaz_tools.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.