You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now clicking on a specific user in "Users" in the admin, django throws this error:
NoReverseMatch at /admin/auth/user/52ade053f9bed911e71dfa5e/ Reverse for 'view_on_site' with arguments '(u'52aca520f9bed9267bd2e23a', u'52ade053f9bed911e71dfa5e')' and keyword arguments '{}' not found.
Here is the full traceback:
Environment:
Request Method: GET
Request URL: http://localhost:8000/admin/auth/user/52ade053f9bed911e71dfa5e/
Django Version: 1.5.5
Python Version: 2.7.6
Installed Applications:
('django_mongodb_engine',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'djangotoolbox',
'django_mongodb_engine',
'dbarch')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Template error:
In template /home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/contrib/admin/templates/admin/change_form.html, error at line 33
Reverse for 'view_on_site' with arguments '(u'52aca520f9bed9267bd2e23a', u'52ade053f9bed911e71dfa5e')' and keyword arguments '{}' not found.
23 : </div>
24 : {% endblock %}
25 : {% endif %}
26 :
27 : {% block content %}<div id="content-main">
28 : {% block object-tools %}
29 : {% if change %}{% if not is_popup %}
30 : <ul class="object-tools">
31 : {% block object-tools-items %}
32 : <li><a href="{% url opts|admin_urlname:'history' original.pk|admin_urlquote %}" class="historylink">{% trans "History" %}</a></li>
33 : {% if has_absolute_url %}<li><a href=" {% url 'admin:view_on_site' content_type_id original.pk%} " class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
34 : {% endblock %}
35 : </ul>
36 : {% endif %}{% endif %}
37 : {% endblock %}
38 : <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% csrf_token %}{% block form_top %}{% endblock %}
39 : <div>
40 : {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
41 : {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %}
42 : {% if errors %}
43 : <p class="errornote">
Traceback:
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
140. response = response.render()
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/response.py" in render
105. self.content = self.rendered_content
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/response.py" in rendered_content
82. content = template.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
140. return self._render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/loader_tags.py" in render
124. return compiled_parent._render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/loader_tags.py" in render
124. return compiled_parent._render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in _render
134. return self.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/loader_tags.py" in render
63. result = block.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/loader_tags.py" in render
63. result = block.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/defaulttags.py" in render
285. return nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/defaulttags.py" in render
285. return nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/loader_tags.py" in render
63. result = block.nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/defaulttags.py" in render
285. return nodelist.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/base.py" in render
830. bit = self.render_node(node, context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/debug.py" in render_node
74. return node.render(context)
File "/home/viyat/Desktop/zmongo/env/lib/python2.7/site-packages/django/template/defaulttags.py" in render
426. raise e
Exception Type: NoReverseMatch at /admin/auth/user/52ade053f9bed911e71dfa5e/
Exception Value: Reverse for 'view_on_site' with arguments '(u'52aca520f9bed9267bd2e23a', u'52ade053f9bed911e71dfa5e')' and keyword arguments '{}' not found.
The text was updated successfully, but these errors were encountered:
Now clicking on a specific user in "Users" in the admin, django throws this error:
Here is the full traceback:
The text was updated successfully, but these errors were encountered: