Reverse for 'register' not found. 'register' is not a valid view function or pattern name.
Request Method: | GET |
---|---|
Request URL: | https://app.cursoram.com/login/ |
Django Version: | 2.2.8 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'register' not found. 'register' is not a valid view function or pattern name. |
Exception Location: | /home/admin/cursorboard/venv/lib/python3.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673 |
Python Executable: | /home/admin/cursorboard/venv/bin/python |
Python Version: | 3.7.3 |
Python Path: | ['/home/admin/cursorboard', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/home/admin/cursorboard/venv/lib/python3.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 09:14:32 +0000 |
In template /home/admin/cursorboard/blog/templates/blog/base.html
, error at line 15
5 | <!-- Required meta tags --> |
---|---|
6 | <meta charset="utf-8"> |
7 | <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
8 | |
9 | <link rel="icon" href="{% static 'blog/uploads/cropped-Cursor-blauw-copy1-32x32.png' %}" sizes="32x32" /> |
10 | <link rel="icon" href="{% static 'blog/uploads/cropped-Cursor-blauw-copy1-192x192.png' %}" sizes="192x192" /> |
11 | <link rel="apple-touch-icon-precomposed" href="{% static 'blog/uploads/cropped-Cursor-blauw-copy1-180x180.png' %}" /> |
12 | <meta name="msapplication-TileImage" content="{% static 'blog/uploads/cropped-Cursor-blauw-copy1-270x270.png' %}" /> |
13 | |
14 | <!-- Bootstrap CSS --> |
15 | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> |
16 | |
17 | <link rel="stylesheet" type="text/css" href="{% static 'blog/styles/main.css' %}"> |
18 | <link rel="stylesheet" type="text/css" href="{% static 'blog/styles/easyzoom.css' %}"> |
19 | <!-- <script type="text/javascript"> |
20 | window.CESIUM_BASE_URL = '/static/blog/cesium/' |
21 | </script> --> |
22 | <script src="https://cesium.com/downloads/cesiumjs/releases/1.80/Build/Cesium/Cesium.js"></script> |
23 | <link href="https://cesium.com/downloads/cesiumjs/releases/1.80/Build/Cesium/Widgets/widgets.css" rel="stylesheet"> |
24 | <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/10.6.4/math.js"></script> |
25 |
/home/admin/cursorboard/venv/lib/python3.7/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 'register' not found. 'register' is not a valid view function or pattern name.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fb0cb9e4550>> |
request | <WSGIRequest: GET '/login/'> |
/home/admin/cursorboard/venv/lib/python3.7/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 LoginView at 0x7fb0c934fc80> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb0c938c8d0>> |
request | <WSGIRequest: GET '/login/'> |
resolver | <URLResolver 'cursorboard.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=django.contrib.auth.views.LoginView, args=(), kwargs={}, url_name=login, app_names=[], namespaces=[], route=login/) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb0cb9e4550> |
wrapped_callback | <function LoginView at 0x7fb0c934fc80> |
/home/admin/cursorboard/venv/lib/python3.7/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 LoginView at 0x7fb0c934fc80> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb0c938c8d0>> |
request | <WSGIRequest: GET '/login/'> |
resolver | <URLResolver 'cursorboard.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=django.contrib.auth.views.LoginView, args=(), kwargs={}, url_name=login, app_names=[], namespaces=[], route=login/) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb0cb9e4550> |
wrapped_callback | <function LoginView at 0x7fb0c934fc80> |
/home/admin/cursorboard/venv/lib/python3.7/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/admin/cursorboard/venv/lib/python3.7/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 | {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com', 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7fb09b381b38> |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
request | <WSGIRequest: GET '/login/'> |
self | <django.template.backends.django.Template object at 0x7fb09b381b38> |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <django.template.base.Template object at 0x7fb09b4c64a8> |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <django.template.base.Template object at 0x7fb09b4c64a8> |
/home/admin/cursorboard/venv/lib/python3.7/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 |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
node | <ExtendsNode: extends "blog/base.html"> |
self | [<ExtendsNode: extends "blog/base.html">] |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <ExtendsNode: extends "blog/base.html"> |
/home/admin/cursorboard/venv/lib/python3.7/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 0x7fb0a9171b00> |
blocks | {'content': <Block Node: content. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7fb09b49e518> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
node | <django.template.defaulttags.LoadNode object at 0x7fb09b5be748> |
self | <ExtendsNode: extends "blog/base.html"> |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <django.template.base.Template object at 0x7fb09b49e518> |
/home/admin/cursorboard/venv/lib/python3.7/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\t\t\t\t' |
bits | ['', '\n' '<!DOCTYPE html>\n' '<html>\n' '<head>\n' '\t<!-- Required meta tags -->\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1, ' 'shrink-to-fit=no">\n' '\n' '\t<link rel="icon" href="', '/static/blog/uploads/cropped-Cursor-blauw-copy1-32x32.png', '" sizes="32x32" />\n\t<link rel="icon" href="', '/static/blog/uploads/cropped-Cursor-blauw-copy1-192x192.png', '" sizes="192x192" />\n\t<link rel="apple-touch-icon-precomposed" href="', '/static/blog/uploads/cropped-Cursor-blauw-copy1-180x180.png', '" />\n\t<meta name="msapplication-TileImage" content="', '/static/blog/uploads/cropped-Cursor-blauw-copy1-270x270.png', '" />\n' '\n' ' <!-- Bootstrap CSS -->\n' ' <link rel="stylesheet" ' 'href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" ' 'integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" ' 'crossorigin="anonymous">\n' '\n' '\t<link rel="stylesheet" type="text/css" href="', '/static/blog/styles/main.css', '">\n\t<link rel="stylesheet" type="text/css" href="', '/static/blog/styles/easyzoom.css', '">\n' '<!-- \t<script type="text/javascript">\n' "\t\twindow.CESIUM_BASE_URL = '/static/blog/cesium/'\n" '\t</script> -->\n' '\t<script ' 'src="https://cesium.com/downloads/cesiumjs/releases/1.80/Build/Cesium/Cesium.js"></script>\n' ' \t<link ' 'href="https://cesium.com/downloads/cesiumjs/releases/1.80/Build/Cesium/Widgets/widgets.css" ' 'rel="stylesheet">\n' ' \t<script ' 'src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/10.6.4/math.js"></script>\n' '\n' ' <link href="https://fonts.googleapis.com/icon?family=Material+Icons" ' 'rel="stylesheet">\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>\n' ' <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>\n' ' <script src="', '/static/blog/js/scripts.js', '"></script>\n\t<script src="', '/static/blog/js/jquery.twentytwenty.js', '" type="text/javascript"></script>\n' '\t<script ' 'src="https://rawgit.com/allensarkisyan/VideoFrame/master/VideoFrame.min.js"></script>\n' '\t<script src="', '/static/blog/js/jquery.waypoints.min.js', '"></script>\n\t<script src="', '/static/blog/js/infinite.min.js', '"></script>\n\n\t', '\n\t\t<title> - cView</title>\n\t', '\n' '</head>\n' '<body>\n' '\t<div class="container-fluid">\n' '\t\t<div class="row">\n' '\t\t\t<div class="col-md-2 cs-menu">\n' '\t\t\t\t<header class="site-header">\n' '\t\t\t\t <nav class="">\n' '\t\t\t\t <div class="container">\n' '\t\t\t\t <a class="navbar-brand mr-4" href="#" target="_blank"><img ' 'src="', '', '" ></a>\n' '\t\t\t\t <div class="navbar-nav">\n' '\t\t\t\t \t<a class="nav-item nav-link ', '', '" href="', '/', '"><i class="material-icons">home</i><span class="menu-name">Home</span></a>\n' '\t\t\t\t \t<a class="nav-item nav-link ', '', '" href="', '/assets/', '"><i class="material-icons">location_city</i><span ' 'class="menu-name">Assets</span></a>\n' '\t\t\t\t \t<a class="nav-item nav-link ', '', '" href="', '/inspections/', '"><i class="material-icons">search</i><span ' 'class="menu-name">Inspections</span></a>\n' '\t\t\t\t\t </div>\n' '\t\t\t\t <div class="navbar-nav bottom-nav">\n' '\t\t\t\t \t', '\n' '\t\t\t\t \t<a class="nav-item nav-link" href="/login/"><i ' 'class="material-icons">vpn_key</i><span class="menu-name">Login</span></a>\n' '\t\t\t\t \t', '\n' '\t\t\t\t </div>\n' '\n' '\t\t\t\t </div>\n' '\t\t\t\t </nav>\n' '\n' '\t\t\t\t</header>\n' '\t\t\t</div>\n' '\n' '\t\t\t<main role="main" class="col-md-10 cs-body">\n' '\t\t\t<!-- <main role="main" class="container"> -->\n' '\t\t\t\t', '', '\n\t\t\t\t'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
node | <Block Node: content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7fb09b5be748>, <TextNode: '\n<!DOCTYPE html>\n<html>\n<'>, <django.templatetags.static.StaticNode object at 0x7fb09b5493c8>, <TextNode: '" sizes="32x32" />\n\t<link'>, <django.templatetags.static.StaticNode object at 0x7fb09b5bedd8>, <TextNode: '" sizes="192x192" />\n\t<li'>, <django.templatetags.static.StaticNode object at 0x7fb09b5b3f98>, <TextNode: '" />\n\t<meta name="msappli'>, <django.templatetags.static.StaticNode object at 0x7fb09b5b3278>, <TextNode: '" />\n\n <!-- Bootstrap '>, <django.templatetags.static.StaticNode object at 0x7fb09b5a5ba8>, <TextNode: '">\n\t<link rel="stylesheet'>, <django.templatetags.static.StaticNode object at 0x7fb09b59ce48>, <TextNode: '">\n<!-- \t<script type="te'>, <django.templatetags.static.StaticNode object at 0x7fb09b59c128>, <TextNode: '"></script>\n\t<script src='>, <django.templatetags.static.StaticNode object at 0x7fb09b58a4a8>, <TextNode: '" type="text/javascript">'>, <django.templatetags.static.StaticNode object at 0x7fb09b66fda0>, <TextNode: '"></script>\n\t<script src='>, <django.templatetags.static.StaticNode object at 0x7fb09b887f98>, <TextNode: '"></script>\n\n\t'>, <IfNode>, <TextNode: '\n</head>\n<body>\n\t<div cla'>, <Variable Node: user.profile.organization.vendor.logo>, <TextNode: '" ></a>\n\t\t\t\t <div '>, <IfNode>, <TextNode: '" href="'>, <django.template.defaulttags.URLNode object at 0x7fb09b532278>, <TextNode: '"><i class="material-icon'>, <IfNode>, <TextNode: '" href="'>, <django.template.defaulttags.URLNode object at 0x7fb0a8f8d748>, <TextNode: '"><i class="material-icon'>, <IfNode>, <TextNode: '" href="'>, <django.template.defaulttags.URLNode object at 0x7fb09b5245f8>, <TextNode: '"><i class="material-icon'>, <IfNode>, <TextNode: '\n\t\t\t\t </div>\n\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t'>, <Block Node: content. Contents: []>, <TextNode: '\n\t\t\t</main>\n\t\t</div>\n\t</d'>] |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <Block Node: content. Contents: []> |
/home/admin/cursorboard/venv/lib/python3.7/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'>, <django.template.defaulttags.LoadNode object at 0x7fb09b4e4ba8>, <TextNode: '\n\t<div class="content-sec'>, <django.templatetags.static.StaticNode object at 0x7fb09b4e45f8>, <TextNode: '">\n\t\t<form method="POST">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fb09b4e4518>, <TextNode: '\n\t\t\t<fieldset class="form'>, <Variable Node: form|crispy>, <TextNode: '\n\t\t\t</fieldset>\n\t\t\t<div c'>, <django.template.defaulttags.URLNode object at 0x7fb09b454898>, <TextNode: '">Forgot password?</a>\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7fb09b37db38>, <TextNode: '">Sign up</a></small>\n\t\t<'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fb0a9171b00> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
push | <Block Node: content. Contents: [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fb09b4e4ba8>, <TextNode: '\n\t<div class="content-sec'>, <django.templatetags.static.StaticNode object at 0x7fb09b4e45f8>, <TextNode: '">\n\t\t<form method="POST">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fb09b4e4518>, <TextNode: '\n\t\t\t<fieldset class="form'>, <Variable Node: form|crispy>, <TextNode: '\n\t\t\t</fieldset>\n\t\t\t<div c'>, <django.template.defaulttags.URLNode object at 0x7fb09b454898>, <TextNode: '">Forgot password?</a>\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7fb09b37db38>, <TextNode: '">Sign up</a></small>\n\t\t<'>]> |
self | <Block Node: content. Contents: []> |
/home/admin/cursorboard/venv/lib/python3.7/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 | ('">Forgot password?</a>\n' '\t\t\t\t</small>\n' '\t\t\t</div>\n' '\t\t</form>\n' '\t\t<div class="border-top pt-3">\n' '\t\t\t<small class="text-muted">Need an account? <a class="ml-2" href="') |
bits | ['\n', '', '\n' '\t<div class="content-section login-page">\n' '\t\t<img style="display: block; margin: 20px auto;" src="', '/static/blog/uploads/cursorwit.png', '">\n\t\t<form method="POST">\n\t\t\t', '<input type="hidden" name="csrfmiddlewaretoken" ' 'value="wGYvfa1xunootB5o4s4UJKFm4uh0SAUeyZlxJoDLU8G364xDg11O0AjD5EhLdLhL">', '\n' '\t\t\t<fieldset class="form-group">\n' '\t\t\t\t<legend class="border-bottom mb-4">Log in</legend>\n' '\t\t\t\t', '\n' '\n' '<div id="div_id_username" class="form-group"> <label for="id_username" ' 'class="col-form-label requiredField">\n' ' Username<span class="asteriskField">*</span> </label> <div ' 'class=""> <input type="text" name="username" autofocus class="textinput ' 'textInput form-control" required id="id_username"> </div> </div> <div ' 'id="div_id_password" class="form-group"> <label for="id_password" ' 'class="col-form-label requiredField">\n' ' Password<span class="asteriskField">*</span> </label> <div ' 'class=""> <input type="password" name="password" class="textinput textInput ' 'form-control" required id="id_password"> </div> </div>\n', '\n' '\t\t\t</fieldset>\n' '\t\t\t<div class="form-group">\n' '\t\t\t\t<button class="btn btn-outline-info" type="submit">Login</button>\n' '\t\t\t\t<small class="text-muted ml-2">\n' '\t\t\t\t\t<a href="', '/password-reset/', '">Forgot password?</a>\n' '\t\t\t\t</small>\n' '\t\t\t</div>\n' '\t\t</form>\n' '\t\t<div class="border-top pt-3">\n' '\t\t\t<small class="text-muted">Need an account? <a class="ml-2" href="'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
node | <django.template.defaulttags.URLNode object at 0x7fb09b37db38> |
self | [<TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fb09b4e4ba8>, <TextNode: '\n\t<div class="content-sec'>, <django.templatetags.static.StaticNode object at 0x7fb09b4e45f8>, <TextNode: '">\n\t\t<form method="POST">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fb09b4e4518>, <TextNode: '\n\t\t\t<fieldset class="form'>, <Variable Node: form|crispy>, <TextNode: '\n\t\t\t</fieldset>\n\t\t\t<div c'>, <django.template.defaulttags.URLNode object at 0x7fb09b454898>, <TextNode: '">Forgot password?</a>\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7fb09b37db38>, <TextNode: '">Sign up</a></small>\n\t\t<'>] |
/home/admin/cursorboard/venv/lib/python3.7/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}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
self | <django.template.defaulttags.URLNode object at 0x7fb09b37db38> |
/home/admin/cursorboard/venv/lib/python3.7/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 | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'view': <django.contrib.auth.views.LoginView object at 0x7fb09b45f5f8>, 'next': '', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fb09b4f2668>, 'site_name': 'app.cursoram.com'}] |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7fb0d0030950> |
self | <django.template.defaulttags.URLNode object at 0x7fb09b37db38> |
url | '' |
view_name | 'register' |
/home/admin/cursorboard/venv/lib/python3.7/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 | [] |
current_app | '' |
current_path | None |
kwargs | {} |
ns_converters | {} |
ns_pattern | '' |
parts | ['register'] |
path | [] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'cursorboard.urls' (None:None) '^/'> |
urlconf | 'cursorboard.urls' |
view | 'register' |
viewname | 'register' |
/home/admin/cursorboard/venv/lib/python3.7/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 | () |
kwargs | {} |
lookup_view | 'register' |
lookup_view_s | 'register' |
m | None |
msg | ("Reverse for 'register' not found. 'register' is not a valid view function or " 'pattern name.') |
n | None |
patterns | [] |
possibilities | [] |
self | <URLResolver 'cursorboard.urls' (None:None) '^/'> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
CONTEXT_PREFIX | '' |
CSRF_COOKIE | 'ayJUwZDpNcjLGY5EtFsax4WrK21bZaXocR6W0dfDdXBqjrxTFep4OUAILc1WklkV' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/var/www/html' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'app.cursoram.com' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/login/' |
PATH_TRANSLATED | '/home/admin/cursorboard/cursorboard/wsgi.py/login/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.157.35.140' |
REMOTE_PORT | '44990' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/login/' |
SCRIPT_FILENAME | '/home/admin/cursorboard/cursorboard/wsgi.py' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://app.cursoram.com/login/' |
SCRIPT_URL | '/login/' |
SERVER_ADDR | '209.250.254.254' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'app.cursoram.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | ('<address>Apache/2.4.38 (Ubuntu) Server at app.cursoram.com Port ' '443</address>\n') |
SERVER_SOFTWARE | 'Apache/2.4.38 (Ubuntu)' |
SSL_TLS_SNI | 'app.cursoram.com' |
apache.version | (2, 4, 34) |
mod_wsgi.application_group | '' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711703672212789' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/login/' |
mod_wsgi.process_group | 'app_cursor' |
mod_wsgi.queue_start | '1711703672212562' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'p8tXEdHUlNk' |
mod_wsgi.request_start | '1711703672212391' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711703672212928' |
mod_wsgi.thread_id | 1 |
mod_wsgi.thread_requests | 95 |
mod_wsgi.total_requests | 229 |
mod_wsgi.version | (4, 6, 5) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7fb09b2d1180> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
cursorboard.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['www.cursoram.com', 'cursoram.com', 'test.cursoram.com', '109.175.184.64', '213.127.114.161', '127.0.0.1', 'localhost', '209.250.254.254', 'app.cursoram.com', 'cview.cursoram.com', 'app.droneview.nl', 'app.dynamicedge.ai'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AWS_ACCESS_KEY_ID | '********************' |
AWS_CLOUDFRONT_KEY | '********************' |
AWS_CLOUDFRONT_KEY_ID | '********************' |
AWS_DEFAULT_ACL | None |
AWS_S3_CUSTOM_DOMAIN | 'd3hwpdn7mk51bk.cloudfront.net' |
AWS_S3_FILE_OVERWRITE | False |
AWS_S3_HOST | 's3.eu-central-1.amazonaws.com' |
AWS_S3_REGION_NAME | 'eu-central-1' |
AWS_S3_SIGNATURE_VERSION | '********************' |
AWS_SECRET_ACCESS_KEY | '********************' |
AWS_STORAGE_BUCKET_NAME | 'cursor-app-files' |
BAM_ADAPTBVAPI_URL_P | '********************' |
BAM_ADAPTBVAPI_URL_T | '********************' |
BAM_CLIENT_ID | '33898ad5-4fd8-4ddd-abca-daebc2b9bd6c' |
BAM_CLIENT_SECRET | '********************' |
BAM_SCOPE_P | '5a9f3909-77d3-45c0-bd35-ae2648d96088/.default' |
BAM_SCOPE_T | '1207b27f-e1c7-4f58-8ddf-0fe12bb0a31b/.default' |
BAM_STORAGE_ACCOUNT_NAME_P | 'b2c01saadaptbvp001' |
BAM_STORAGE_ACCOUNT_NAME_T | 'b2c01saadaptbvt001' |
BAM_STORAGE_CONTAINER_P | '3ddashboard' |
BAM_STORAGE_CONTAINER_T | '3ddashboard' |
BAM_TENANT_ID | 'bf5f4046-a1dc-4119-aa8a-bfb9fbf46271' |
BASE_DIR | '/home/admin/cursorboard' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CORS_ALLOWED_ORIGINS | ['http://localhost:8080', 'https://d1qp9u2dp4muu7.cloudfront.net', 'https://development.cursoram.com', 'https://application.cursoram.com'] |
CORS_ALLOW_HEADERS | ('content-disposition', 'accept-encoding', 'content-type', 'accept', 'origin', 'authorization') |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/admin/cursorboard/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 10242880 |
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 | 'storages.backends.s3boto3.S3Boto3Storage' |
DEFAULT_FROM_EMAIL | 'admin@cursoram.com' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.transip.email' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'admin@cursoram.com' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_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 | None |
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 | ['blog.apps.BlogConfig', 'users.apps.UsersConfig', 'crispy_forms', 'rest_framework', 'corsheaders', 'leaflet', 'djgeojson', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'storages', 'django_otp', 'django_otp.plugins.otp_static', 'django_otp.plugins.otp_totp', 'two_factor', 'rest_framework.authtoken'] |
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 | '/' |
LEAFLET_CONFIG | {'DEFAULT_CENTER': (52.62413, 6.168875), 'DEFAULT_ZOOM': 8} |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'blog-home' |
LOGIN_URL | 'two_factor:login' |
LOGOUT_REDIRECT_URL | 'blog-home' |
MANAGERS | [] |
MEDIA_ROOT | '/home/admin/cursorboard/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['corsheaders.middleware.CorsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', '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 | 'cursorboard.urls' |
S3_USE_SIGV4 | True |
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 | 'admin@cursoram.com' |
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 | 'cursorboard.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SIMPLE_JWT | {'ACCESS_TOKEN_LIFETIME': '********************', 'REFRESH_TOKEN_LIFETIME': '********************'} |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/admin/cursorboard/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 | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
URL_EXPIRY_TIME | 3600 |
USE_I18N | True |
USE_L10N | True |
USE_PRESIGNED_URL | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'cursorboard.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.