Open alphaveneno opened 6 months ago
We need the stack trace to debug the error. It should be in your logs or can be captured with a tool like Sentry.
One possibility is you have a reference to a non-existent static file, which unfortunately doesn't error in debug mode.
I can give you the info from 'Inspect", the console output of my web browsers:
GET | scheme | https host | skin-bfu6.onrender.com filename | / Address | 216.24.57.3:443
Response Headers:
HTTP/2 500 date: Thu, 15 Feb 2024 03:37:41 GMT content-type: text/html; charset=utf-8 cf-ray: 855a837f986a36ac-YYZ cf-cache-status: DYNAMIC vary: Accept-Encoding cross-origin-opener-policy: same-origin referrer-policy: same-origin rndr-id: 1fb76822-f543-4cdd x-content-type-options: nosniff x-frame-options: DENY x-render-origin-server: gunicorn server: cloudflare alt-svc: h3=":443"; ma=86400 X-Firefox-Spdy: h2
Request Headers:
GET / HTTP/2 Host: skin-bfu6.onrender.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Connection: keep-alive Cookie: csrftoken=hWwx5lux05Yu4aH0KGnfUeGjAiB5YOCr Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1
The logs on render.com do not show an error, it happily deployed the django app without a hiccup.
Before putting in the STORAGES settings (as described above) the problem was access to the CSS files was blocked due to the type mismatch (expected: "text/css", got "text/html"). Now the browsers (Firefox and Vivaldi) cannot find the website at all.
What is needed is the detailed Python traceback from the server logs, not just «500 error» that the client sees.
I'm having the same issue, I can provide what you're looking for:
4.2
3.11
6.6.0
` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\whitenoise\middleware.py", line 124, in __call__
return self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\<xxxx>\AppData\Local\Programs\Python\Python311\Lib\wsgiref\handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\wsgi.py", line 124, in __call__
response = self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\base.py", line 140, in get_response
response = self._middleware_chain(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
[27/Feb/2024 08:32:51] "GET / HTTP/1.1" 500 59
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
callback, callback_args, callback_kwargs = self.resolve_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\base.py", line 313, in resolve_request
resolver_match = resolver.resolve(request.path_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\urls\resolvers.py", line 702, in resolve
raise Resolver404({"tried": tried, "path": new_path})
django.urls.exceptions.Resolver404: {'tried': [[<URLResolver <URLPattern list> (admin:admin) 'admin/'>], [<URLPattern '404'>], [<URLPattern ''>], [<URLPattern 'community-guidelines' [name='community-guide']>], [<URLPattern 'acceptable-use-policy' [name='aup']>], [<URLPattern 'about' [name='about']>], [<URLResolver <module 'careers.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\careers\\urls.py'> (None:None) 'careers'>], [<URLResolver <module 'careers.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\careers\\urls.py'> (None:None) 'careers/'>], [<URLResolver <module 'legal.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\legal\\urls.py'> (None:None) 'legal/'>], [<URLResolver <module 'media.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\media\\urls.py'> (None:None) 'articles/'>], [<URLResolver <module 'blog.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\blog\\urls.py'> (None:None) 'blog'>], [<URLResolver <module 'blog.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\blog\\urls.py'> (None:None) 'blog/'>], [<URLResolver <module 'events.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\events\\urls.py'> (None:None) 'events'>], [<URLResolver <module 'events.urls' from 'C:\\Users\\<xxxx>\\OneDrive - <xxxxxxxxxxxxxxxxx>\\<xxxxxxxxx>\\events\\urls.py'> (None:None) 'events/'>]], 'path': 'favicon.ico'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 164, in get_exception_response
response = callback(request, exception=exception)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 64, in page_not_found
body = template.render(context, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 175, in render
return self._render(context)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 167, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 1005, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 1005, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 966, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 157, in render
return compiled_parent._render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 167, in _render
return self.nodelist.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 1005, in render
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 1005, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 966, in render_annotated
return self.render(context)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\templatetags\static.py", line 116, in render
url = self.url(context)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\templatetags\static.py", line 113, in url
return self.handle_simple(path)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\templatetags\static.py", line 129, in handle_simple
return staticfiles_storage.url(path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\contrib\staticfiles\storage.py", line 203, in url
return self._url(self.stored_name, name, force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\contrib\staticfiles\storage.py", line 182, in _url
hashed_name = hashed_name_func(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\contrib\staticfiles\storage.py", line 513, in stored_name
raise ValueError(
ValueError: Missing staticfiles manifest entry for 'libraries/js/cookieyes.js'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 68, in response_for_exception
response = get_exception_response(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 167, in get_exception_response
response = handle_uncaught_exception(request, resolver, sys.exc_info())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\whitenoise\middleware.py", line 124, in __call__
return self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\deprecation.py", line 134, in __call__
response = response or self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 505, in parse
compile_func = self.tags[command]
~~~~~~~~~^^^^^^^^^
KeyError: 'content'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\<xxxx>\AppData\Local\Programs\Python\Python311\Lib\wsgiref\handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\wsgi.py", line 124, in __call__
response = self.get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\base.py", line 140, in get_response
response = self._middleware_chain(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
response = response_for_exception(request, exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
response = handle_uncaught_exception(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\core\handlers\exception.py", line 185, in handle_uncaught_exception
return callback(request)
^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\utils\decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\views\defaults.py", line 91, in server_error
template = loader.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\backends\django.py", line 33, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 175, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\engine.py", line 157, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loaders\base.py", line 28, in get_template
return Template(
^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 154, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 200, in compile_nodelist
return parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 513, in parse
raise self.error(token, e)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 511, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\loader_tags.py", line 293, in do_extends
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 507, in parse
self.invalid_block_tag(token, command, parse_until)
File "C:\Users\<xxxx>\OneDrive - <xxxxxxxxxxxxxxxxx>\<xxxxxxxxx>\.venv\Lib\site-packages\django\template\base.py", line 568, in invalid_block_tag
raise self.error(
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 22: 'content'. Did you forget to register or load this tag?
[27/Feb/2024 08:32:51] "GET /favicon.ico HTTP/1.1" 500 59`
@BlauweStadTechnologieen Are you sure that your issue is related to whitenoise ??
According to your logs, the issue is about your templates. Whitenoise doesn't even ship anything with a tag "content"
Who knows?
Python Version
3.11
Django Version
5.0
Package Version
6.6.0
Description
Django web application running on render.com.
Switching from:
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
to:
STORAGES = { "staticfiles": { "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", }, }
results in blank screen with HTTP Status code 500