Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Request Method: | GET |
---|---|
Request URL: | http://devplanner.com/accounts/login/?next=/work-satisfaction.html |
Django Version: | 1.9.7 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] |
Exception Location: | /home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 508 |
Python Executable: | /home/sashaf/projects/venv/bin/python |
Python Version: | 2.7.9 |
Python Path: | ['/home/sashaf/devplanner.com/devplanner', '/home/sashaf/projects/venv/bin', '/home/sashaf/devplanner.com/devplanner', '/home/sashaf/projects/venv/lib/python2.7', '/home/sashaf/projects/venv/lib/python2.7/plat-x86_64-linux-gnu', '/home/sashaf/projects/venv/lib/python2.7/lib-tk', '/home/sashaf/projects/venv/lib/python2.7/lib-old', '/home/sashaf/projects/venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/sashaf/projects/venv/local/lib/python2.7/site-packages'] |
Server time: | Thu, 28 Mar 2024 21:02:52 +0000 |
In template /home/sashaf/devplanner.com/presentation/templates/registration/login.html
, error at line 27
17 | {{ form }} |
---|---|
18 | |
19 | <tr> |
20 | <td colspan="2" align="right"> |
21 | <div class="contactSubmit"><input type="submit" value="login" align="right" /></div> |
22 | <input type="hidden" name="next" value="{{ next }}" /> |
23 | </td> |
24 | </tr> |
25 | <tr> |
26 | <td colspan="2" align="right"> |
27 | <div><a href="{% url django.contrib.auth.views.password_reset %}" class="pagemenu">I forgot my password</a></div> |
28 | </td> |
29 | </tr> |
30 | <tr> |
31 | <td colspan="2" align="right"> |
32 | <div><a href="{% url devplanner.accounts.views.register %}" class="pagemenu">Register</a></div> |
33 | </td> |
34 | </tr> |
35 | </table> |
36 | </form> |
37 |
/home/sashaf/projects/venv/local/lib/python2.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)...
response_is_rendered = True
except http.Http404 as exc:
logger.warning('Not Found: %s', request.path,
extra={
Variable | Value |
---|---|
e | NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=django.contrib.auth.views.login, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fa1a6e1de50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fa1aa199f50> |
request | <WSGIRequest: GET '/accounts/login/?next=/work-satisfaction.html'> |
callback | <function login at 0x7fa1a6d391b8> |
wrapped_callback | <function login at 0x7fa1a6d391b8> |
resolver | <RegexURLResolver 'devplanner.urls' (None:None) ^/> |
callback_kwargs | {} |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
urlconf | 'devplanner.urls' |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
# Complain if the template response middleware returned None (a common error).
if response is None:
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)
response_is_rendered = True
except http.Http404 as exc:
Variable | Value |
---|---|
e | NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=django.contrib.auth.views.login, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fa1a6e1de50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fa1aa199f50> |
request | <WSGIRequest: GET '/accounts/login/?next=/work-satisfaction.html'> |
callback | <function login at 0x7fa1a6d391b8> |
wrapped_callback | <function login at 0x7fa1a6d391b8> |
resolver | <RegexURLResolver 'devplanner.urls' (None:None) ^/> |
callback_kwargs | {} |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
urlconf | 'devplanner.urls' |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns 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 |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/sashaf/projects/venv/local/lib/python2.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):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
context | {'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'site_name': 'devplanner.com'} |
template | <django.template.backends.django.Template object at 0x7fa1a6841210> |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
"render() must be called with a dict, not a Context.",
RemovedInDjango110Warning, stacklevel=2)
else:
context = make_context(context, request)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7fa1a6841210> |
request | <WSGIRequest: GET '/accounts/login/?next=/work-satisfaction.html'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
def compile_nodelist(self):
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fa1a6873f10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fa1a6873f10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "about/masterpage.html"> |
self | [<ExtendsNode: extends "about/masterpage.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <ExtendsNode: extends "about/masterpage.html"> |
e | NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
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.
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
node | <Block Node: title. Contents: [<TextNode: u'DevPlanner - personal day'>]> |
blocks | {u'content': <Block Node: content. Contents: []>, u'title': <Block Node: title. Contents: [<TextNode: u'DevPlanner - personal day'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7fa1a6735790> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
compiled_parent | <django.template.base.Template object at 0x7fa1a6735f50> |
self | <ExtendsNode: extends "about/masterpage.html"> |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fa1a6735f50> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
bit | u'\n</td>\n</tr>\n<tr bgcolor="#ffffff">\n<td align="right" >\n<table cellpadding="0" cellspacing="2" border="0">\n<tr>\n<td> <a class="menus" href="/index.html">About</a></td> \n<td> <a class="menus" href="/tryit.html">Download</a></td>\n<td> <a class="menus" href="/order.html">Order</a></td> \n<td> <a class="menus" href="/report-templates.html">Templates</a></td> \n<td> <a class="menus" href="/personal-planning-articles.html">Articles</a></td>\n<!-- <td> <a class="menus" href="http://devplanner.net/">Community</a></td> -->\n<td> <a class="menus" href="/contact.html">Contacts</a> </td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n <td width=733 bgcolor="#ffffff"> \n\n' |
bits | [u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\n<META NAME="DESCRIPTION" CONTENT="Daily plan software, collects tasks, shows day, workweek and week views of daily activities. Generates timesheet, weekly reports.">\n<META NAME="KEYWORDS" CONTENT="Productivity, daily plan, calendar, time tracking software, timesheet, time management, extreme programming, personal planning, project management, calendar planner, day task software">\n<META name="Robots" content="all, index, follow">\n<META name="revisit-after" content="30 days">\n<Meta name="distribution" content="global">\n<link href="/site/style.css" rel="stylesheet" type="text/css">\n<title>', u'DevPlanner account login', u'</title>\n\n<style type="text/css">\n<!--\n.bgimage { background-image: url(/site/images/menutop.gif); background-repeat: repeat}\n-->\n</style>\n\n</head>\n<body bgcolor="#E5E4D7">\n<table align="center" width="731" border="0" cellpadding="0" cellspacing="0">\n<tr>\n<td width="100%" height="68" valign="top" align="right" class="bgimage">\n', u'\n<a class="menus" href="/accounts/login/?next=">Login</a>\n| <a class="menus" href="/accounts/register/">Register</a>\n', u'\n</td>\n</tr>\n<tr bgcolor="#ffffff">\n<td align="right" >\n<table cellpadding="0" cellspacing="2" border="0">\n<tr>\n<td> <a class="menus" href="/index.html">About</a></td> \n<td> <a class="menus" href="/tryit.html">Download</a></td>\n<td> <a class="menus" href="/order.html">Order</a></td> \n<td> <a class="menus" href="/report-templates.html">Templates</a></td> \n<td> <a class="menus" href="/personal-planning-articles.html">Articles</a></td>\n<!-- <td> <a class="menus" href="http://devplanner.net/">Community</a></td> -->\n<td> <a class="menus" href="/contact.html">Contacts</a> </td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n <td width=733 bgcolor="#ffffff"> \n\n'] |
self | [<TextNode: u'<!DOCTYPE html PUBLIC "-/'>, <Block Node: title. Contents: [<TextNode: u'DevPlanner - personal day'>]>, <TextNode: u'</title>\n\n<style type="te'>, <IfNode>, <TextNode: u'\n</td>\n</tr>\n<tr bgcolor='>, <Block Node: content. Contents: []>, <TextNode: u'\n\n </td>\n</tr>\n<t'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <Block Node: content. Contents: []> |
e | NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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 |
---|---|
push | <Block Node: content. Contents: [<TextNode: u'\n\n<br>\n<div style="paddin'>, <IfNode>, <TextNode: u'\n\n<form method="post" act'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fa1a6841350>, <TextNode: u'\n<table width="380">\n'>, <Variable Node: form>, <TextNode: u'\n\n<tr>\n<td colspan="2" al'>, <Variable Node: next>, <TextNode: u'" />\n</td>\n</tr>\n<tr>\n<td'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841290>, <TextNode: u'" class="pagemenu">I forg'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841a50>, <TextNode: u'" class="pagemenu">Regist'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fa1a6735790> |
block | <Block Node: content. Contents: [<TextNode: u'\n\n<br>\n<div style="paddin'>, <IfNode>, <TextNode: u'\n\n<form method="post" act'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fa1a6841350>, <TextNode: u'\n<table width="380">\n'>, <Variable Node: form>, <TextNode: u'\n\n<tr>\n<td colspan="2" al'>, <Variable Node: next>, <TextNode: u'" />\n</td>\n</tr>\n<tr>\n<td'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841290>, <TextNode: u'" class="pagemenu">I forg'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841a50>, <TextNode: u'" class="pagemenu">Regist'>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
self | <Block Node: content. Contents: []> |
/home/sashaf/projects/venv/local/lib/python2.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(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.defaulttags.URLNode object at 0x7fa1a6841290> |
bit | u'" />\n</td>\n</tr>\n<tr>\n<td colspan="2" align="right">\n<div><a href="' |
bits | [u'\n\n<br>\n<div style="padding-left:15px; padding-bottom:15px; padding-right:5px;" class="container">DevPlanner account login</div>\n<div style="padding-left:15px; padding-bottom:15px; padding-right:5px;" class="subscribe">\n\n', u'', u'\n\n<form method="post" action="">', u"<input type='hidden' name='csrfmiddlewaretoken' value='YUW4QPpRea1lSaz3AljQuPnqcyMmD0MF' />", u'\n<table width="380">\n', u'<tr><th><label for="id_username">Username:</label></th><td><input id="id_username" maxlength="254" name="username" type="text" /></td></tr>\n<tr><th><label for="id_password">Password:</label></th><td><input id="id_password" name="password" type="password" /></td></tr>', u'\n\n<tr>\n<td colspan="2" align="right">\n<div class="contactSubmit"><input type="submit" value="login" align="right" /></div>\n<input type="hidden" name="next" value="', u'/work-satisfaction.html', u'" />\n</td>\n</tr>\n<tr>\n<td colspan="2" align="right">\n<div><a href="'] |
self | [<TextNode: u'\n\n<br>\n<div style="paddin'>, <IfNode>, <TextNode: u'\n\n<form method="post" act'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fa1a6841350>, <TextNode: u'\n<table width="380">\n'>, <Variable Node: form>, <TextNode: u'\n\n<tr>\n<td colspan="2" al'>, <Variable Node: next>, <TextNode: u'" />\n</td>\n</tr>\n<tr>\n<td'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841290>, <TextNode: u'" class="pagemenu">I forg'>, <django.template.defaulttags.URLNode object at 0x7fa1a6841a50>, <TextNode: u'" class="pagemenu">Regist'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <django.template.defaulttags.URLNode object at 0x7fa1a6841290> |
e | NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
args=args, kwargs=kwargs,
current_app=current_app)
except NoReverseMatch:
if self.asvar is None:
# Re-raise the original exception, not the one with
# the path relative to the project. This makes a
# better error message.
six.reraise(*exc_info)...
else:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
project_name | u'devplanner' |
reverse | <function reverse at 0x7fa1a9cccc80> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fa1a6841290> |
args | [] |
current_app | u'' |
view_name | '' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fa1a632b8c0>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
# Try to look up the URL twice: once given the view name, and again
# relative to what we guess is the "main" app. If they both fail,
# re-raise the NoReverseMatch unless we're using the
# {% url ... as var %} construct in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
exc_info = sys.exc_info()
if settings.SETTINGS_MODULE:
project_name = settings.SETTINGS_MODULE.split('.')[0]
try:
url = reverse(project_name + '.' + view_name,
Variable | Value |
---|---|
project_name | u'devplanner' |
reverse | <function reverse at 0x7fa1a9cccc80> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fa1a6841290> |
args | [] |
current_app | u'' |
view_name | '' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'site_name': 'devplanner.com', 'site': <django.contrib.sites.requests.RequestSite object at 0x7fa1a67bc490>, 'form': <AuthenticationForm bound=False, valid=False, fields=(username;password)>, 'next': u'/work-satisfaction.html'}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for '' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fa1a632b8c0>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/core/urlresolvers.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)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
current_path | None |
viewname | '' |
args | [] |
current_app | u'' |
prefix | u'/' |
parts | [u''] |
resolver | <RegexURLResolver 'devplanner.urls' (None:None) ^/> |
kwargs | {} |
path | [] |
view | u'' |
urlconf | 'devplanner.urls' |
resolved_path | [] |
/home/sashaf/projects/venv/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
patterns | [] |
m | None |
self | <RegexURLResolver 'devplanner.urls' (None:None) ^/> |
args | () |
_prefix | u'/' |
lookup_view_s | u'' |
text_args | [] |
n | None |
possibilities | [] |
lookup_view | u'' |
text_kwargs | {} |
kwargs | {} |
original_lookup | u'' |
Variable | Value |
---|---|
next | u'/work-satisfaction.html' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
SERVER_SOFTWARE | 'gunicorn/19.6.0' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/accounts/login/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | 'next=/work-satisfaction.html' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'devplanner.com' |
REMOTE_ADDR | '' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fa1a678ab50> |
HTTP_HOST | 'devplanner.com' |
wsgi.multithread | False |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
RAW_URI | '/accounts/login/?next=/work-satisfaction.html' |
wsgi.run_once | False |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fa1a678ad50> |
wsgi.multiprocess | True |
gunicorn.socket | <socket._socketobject object at 0x7fa1a6824fa0> |
HTTP_X_FORWARDED_FOR | '52.91.0.68' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'YUW4QPpRea1lSaz3AljQuPnqcyMmD0MF' |
CSRF_COOKIE_USED | True |
devplanner.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'devplanner.urls' |
MANAGERS | () |
BASE_DIR | '/home/sashaf/devplanner.com/devplanner' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | None |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'devplannerdb', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'devuser'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | [] |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'devplanner.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'about', 'accounts', 'webapi') |
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'), ('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'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('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 Bokmal'), ('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')] |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | [] |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
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'] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_PROFILE_MODULE | 'devplanner.accounts.models.UserProfile' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | [] |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/sashaf/devplanner.com/devplanner/../presentation/templates', '/home/sashaf/devplanner.com/devplanner/../presentation/admintemplates') |
SITE_ID | 2 |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'] |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'devplanner.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/site/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
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'] |
EMAIL_HOST_USER | '' |
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.