Reverse for 'project-detail' not found. 'project-detail' is not a valid view function or pattern name.
Request Method: | GET |
---|---|
Request URL: | https://theabarkhoff.com/illustration |
Django Version: | 2.2.1 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'project-detail' not found. 'project-detail' is not a valid view function or pattern name. |
Exception Location: | /home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 668 |
Python Executable: | /home/jacques/barkhoff/barkhoffenv/bin/python3 |
Python Version: | 3.6.7 |
Python Path: | ['/home/jacques/barkhoff', '/home/jacques/barkhoff/barkhoffenv/bin', '/home/jacques/barkhoff/barkhoffenv/lib/python36.zip', '/home/jacques/barkhoff/barkhoffenv/lib/python3.6', '/home/jacques/barkhoff/barkhoffenv/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages'] |
Server time: | Tue, 19 Mar 2024 04:01:53 +0000 |
In template /home/jacques/barkhoff/barkhoff/templates/barkhoff/base.html
, error at line 0
1 | {% load static %} |
---|---|
2 | <!DOCTYPE html> |
3 | <html lang="en"> |
4 | <head> |
5 | <meta charset="UTF-8"> |
6 | <title>Studio Thea Barkhoff {% block title %}{% endblock %}</title> |
7 | <link rel="stylesheet" href="{% static 'screen.css' %}"> |
8 | <link rel="stylesheet" type="text/css" href="{% static 'MyFontsWebfontsKit.css' %}"> |
9 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
10 | <meta name="description" content="Studio Thea Barkhoff is a multi-disciplinary design studio with focus on visual identity, art direction and brand strategy."> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NoReverseMatch("Reverse for 'project-detail' not found. 'project-detail' is not a valid view function or pattern name.",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fbd0ee066a0>> |
request | <WSGIRequest: GET '/illustration'> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function IllustrationView at 0x7fbd097a9ae8> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fbd098185c0>> |
request | <WSGIRequest: GET '/illustration'> |
resolver | <URLResolver 'barkhoff.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=barkhoff.views.IllustrationView, args=(), kwargs={}, url_name=illustration, app_names=[], namespaces=[], route=illustration) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fbd0ee066a0> |
wrapped_callback | <function IllustrationView at 0x7fbd097a9ae8> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function IllustrationView at 0x7fbd097a9ae8> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fbd098185c0>> |
request | <WSGIRequest: GET '/illustration'> |
resolver | <URLResolver 'barkhoff.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=barkhoff.views.IllustrationView, args=(), kwargs={}, url_name=illustration, app_names=[], namespaces=[], route=illustration) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fbd0ee066a0> |
wrapped_callback | <function IllustrationView at 0x7fbd097a9ae8> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/response.py
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"> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/response.py
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)
content = template.render(context, self._request)…
return content
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'is_paginated': False, 'object_list': <StartPage: Illustration>, 'page_obj': None, 'paginator': None, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7fbd09580be0> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
request | <WSGIRequest: GET '/illustration'> |
self | <django.template.backends.django.Template object at 0x7fbd09580be0> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <django.template.base.Template object at 0x7fbd09580c50> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <django.template.base.Template object at 0x7fbd09580c50> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n' |
bits | ['\n'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
node | <ExtendsNode: extends 'barkhoff/base.html'> |
self | [<TextNode: '\n'>, <ExtendsNode: extends 'barkhoff/base.html'>] |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <ExtendsNode: extends 'barkhoff/base.html'> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/loader_tags.py
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 0x7fbd095d2940> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n '>]>, 'footer_wrapper': <Block Node: footer_wrapper. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fbd095c7b00>, <TextNode: '\n '>]>, 'menu_wrapper': <Block Node: menu_wrapper. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fbd0957ae48>, <TextNode: '\n '>]>, 'title': <Block Node: title. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7fbd094a70b8> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
node | <django.template.defaulttags.LoadNode object at 0x7fbd0957a7f0> |
self | <ExtendsNode: extends 'barkhoff/base.html'> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <django.template.base.Template object at 0x7fbd094a70b8> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n <div id="content">\n ' |
bits | ['', '\n' '<!DOCTYPE html>\n' '<html lang="en">\n' '<head>\n' ' <meta charset="UTF-8">\n' ' <title>Studio Thea Barkhoff ', ' - Illustration', '</title>\n <link rel="stylesheet" href="', '/static/screen.css', '">\n <link rel="stylesheet" type="text/css" href="', '/static/MyFontsWebfontsKit.css', '">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1">\n' ' <meta name="description" content="Studio Thea Barkhoff is a ' 'multi-disciplinary design studio with focus on visual identity, art ' 'direction and brand strategy.">\n' '\n' '<link ' 'href="https://fonts.googleapis.com/css?family=Roboto|Playfair+Display:700" ' 'rel="stylesheet">\n' '\n' '</head>\n' '<body>\n' ' <div id="mainContainer">\n' ' ', '\n' ' \n' ' \n' ' <div id="header">\n' '<a id="pageTitle" href="/">Studio Thea Barkhoff</a>\n' '\n' '<div id="burger">\n' ' <a href="/menu?url=/illustration">\n' ' <div>\n' ' <div class="burgerIcon"></div>\n' ' <div class="burgerIcon"></div>\n' ' <div class="burgerIcon"></div>\n' ' </div>\n' ' \n' ' </a>\n' '</div>\n' '\n' '</div>\n' '\n' '\n' '<div class="menu" id="menuLeft">\n' ' <a \n' ' id="menuArtDirection" \n' ' \n' ' href="/art-direction">Art Direction</a>\n' ' <a \n' ' \n' ' id="menuDesign" \n' ' href="/design">Design</a>\n' ' <a \n' ' class="active"\n' ' id="menuIllustration" \n' ' href="/illustration">Illustration</a>\n' '</div>\n' '\n' '<div class="menu" id="menuRight">\n' ' <a\n' ' \n' ' href="/about">About</a>\n' ' <a \n' ' \n' ' href="/thank-you">Thank You</a>\n' ' <a href="https://www.instagram.com/studio_theabarkhoff/" ' 'target="blank">Instagram</a>\n' '</div>\n' '\n' '\n' '\n' '\n' ' \n' ' \n', '\n <div id="content">\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
node | <Block Node: content. Contents: [<TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7fbd0957a7f0>, <TextNode: '\n<!DOCTYPE html>\n<html la'>, <Block Node: title. Contents: []>, <TextNode: '</title>\n <link rel="s'>, <django.templatetags.static.StaticNode object at 0x7fbd0957a240>, <TextNode: '">\n <link rel="stylesh'>, <django.templatetags.static.StaticNode object at 0x7fbd0957ac50>, <TextNode: '">\n <meta name="viewpo'>, <Block Node: menu_wrapper. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fbd0957ae48>, <TextNode: '\n '>]>, <TextNode: '\n <div id="content">\n '>, <Block Node: content. Contents: [<TextNode: '\n '>]>, <TextNode: '\n </div>\n '>, <django.template.loader_tags.IncludeNode object at 0x7fbd0957a898>, <TextNode: '\n '>, <Block Node: footer_wrapper. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7fbd095c7b00>, <TextNode: '\n '>]>, <TextNode: '\n <div id="footerSpace'>] |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n<div id="imageContent">\n'>, <ForNode: for project in object_list.projects.all, tail_len: 9>, <TextNode: '\n</div>\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fbd095d2940> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
push | <Block Node: content. Contents: [<TextNode: '\n<div id="imageContent">\n'>, <ForNode: for project in object_list.projects.all, tail_len: 9>, <TextNode: '\n</div>\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n '>]> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n<div id="imageContent">\n' |
bits | ['\n<div id="imageContent">\n'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
node | <ForNode: for project in object_list.projects.all, tail_len: 9> |
self | [<TextNode: '\n<div id="imageContent">\n'>, <ForNode: for project in object_list.projects.all, tail_len: 9>, <TextNode: '\n</div>\n'>] |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <ForNode: for project in object_list.projects.all, tail_len: 9> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
i | 0 |
item | <Project: Collage Münchner Kammerspiele> |
len_values | 9 |
loop_dict | {'counter': 1, 'counter0': 0, 'first': True, 'last': False, 'parentloop': {}, 'revcounter': 9, 'revcounter0': 8} |
node | <django.template.defaulttags.URLNode object at 0x7fbd094a7f28> |
nodelist | ['\n <a class="projectItem" href="'] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for project in object_list.projects.all, tail_len: 9> |
unpack | False |
values | <QuerySet [<Project: Collage Münchner Kammerspiele>, <Project: brand eins 03 12>, <Project: brand eins Cover>, <Project: kid’s wear Vol. 34>, <Project: Interview Magazine>, <Project: Talel Paris>, <Project: Cahiers du Cinéma>, <Project: brand eins 02 12>, <Project: brand eins 10 07>]> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
self | <django.template.defaulttags.URLNode object at 0x7fbd094a7f28> |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)…
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | ['collage-munchner-kammerspiele'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': None, 'page_obj': None, 'is_paginated': False, 'object_list': <StartPage: Illustration>, 'view': <barkhoff.views.IllustrationView object at 0x7fbd094fc048>}] |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7fbd0c8febf8> |
self | <django.template.defaulttags.URLNode object at 0x7fbd094a7f28> |
url | '' |
view_name | 'project-detail' |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/urls/base.py
in reverse
(key, ':'.join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver, tuple(ns_converters.items()))
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))…
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
Variable | Value |
---|---|
args | ['collage-munchner-kammerspiele'] |
current_app | '' |
current_path | None |
kwargs | {} |
ns_converters | {} |
ns_pattern | '' |
parts | ['project-detail'] |
path | [] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'barkhoff.urls' (None:None) '^/'> |
urlconf | 'barkhoff.urls' |
view | 'project-detail' |
viewname | 'project-detail' |
/home/jacques/barkhoff/barkhoffenv/lib/python3.6/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)…
Variable | Value |
---|---|
_prefix | '/' |
args | ('collage-munchner-kammerspiele',) |
kwargs | {} |
lookup_view | 'project-detail' |
lookup_view_s | 'project-detail' |
m | None |
msg | ("Reverse for 'project-detail' not found. 'project-detail' is not a valid view " 'function or pattern name.') |
n | None |
patterns | [] |
possibilities | [] |
self | <URLResolver 'barkhoff.urls' (None:None) '^/'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'theabarkhoff.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.222.149.13' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '44.222.149.13' |
PATH_INFO | '/illustration' |
QUERY_STRING | '' |
RAW_URI | '/illustration' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'theabarkhoff.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.9.0' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/run/barkhoff.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fbd094fc7b8> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fbd094fcf60> |
wsgi.multiprocess | False |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
barkhoff.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', 'barkhoff.koerperpflegeundtrommeln.de', '.studiotheabarkhoff.com', '.theabarkhoff.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/jacques/barkhoff' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'barkhoff', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'admin'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 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', 'barkhoff', 'adminsortable2', 'sorl.thumbnail'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCAL | False |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'file': {'backupCount': 10, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/jacques/barkhoff/debug.log', 'level': 'DEBUG', 'maxBytes': 5242880}}, 'loggers': {'django': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/jacques/barkhoff/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_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'barkhoff.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'barkhoff.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/jacques/barkhoff/static/' |
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 | ',' |
THUMBNAIL_DEBUG | True |
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 | 'barkhoff.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.