Note that there are some explanatory texts on larger screens.

plurals
  1. PONoReverseMatch: with arguments '(u'',)' and keyword arguments '{}' not found.in Django Admin
    text
    copied!<p><strong>I found a better error message (see below).</strong></p> <p>I have a model called App in core/models.py. The error occurs when trying to access a specific app object in django admin. Even on an empty database (after syncdb) with a single app object.</p> <p>Seems core_app_history is something django generated. Any help is appreciated.</p> <p>Here is the exception:</p> <pre><code>NoReverseMatch at /admin/core/app/251/ Reverse for 'core_app_history' with arguments '(u'',)' and keyword arguments '{}' not found. Request Method: GET Request URL: http://weblocal:8001/admin/core/app/251/ Django Version: 1.5.4 Exception Type: NoReverseMatch Exception Value: Reverse for 'core_app_history' with arguments '(u'',)' and keyword arguments '{}' not found. Exception Location: /opt/virtenvs/django_slice/local/lib/python2.7/site-packages/django/template/defaulttags.py in render, line 426 Python Executable: /opt/virtenvs/django_slice/bin/python Python Version: 2.7.3 Python Path: ['/opt/src/slicephone/cloud', '/opt/virtenvs/django_slice/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/opt/virtenvs/django_slice/local/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg', '/opt/virtenvs/django_slice/local/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg', '/opt/virtenvs/django_slice/lib/python2.7', '/opt/virtenvs/django_slice/lib/python2.7/plat-linux2', '/opt/virtenvs/django_slice/lib/python2.7/lib-tk', '/opt/virtenvs/django_slice/lib/python2.7/lib-old', '/opt/virtenvs/django_slice/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/opt/virtenvs/django_slice/local/lib/python2.7/site-packages'] Server time: Fri, 11 Oct 2013 22:06:43 +0000 </code></pre> <p>And it occurs in /django/contrib/admin/templates/admin/change_form.html</p> <pre><code>32 &lt;li&gt;&lt;a href="{% url opts|admin_urlname:'history' original.pk|admin_urlquote %}" class="historylink"&gt;{% trans "History" %}&lt;/a&gt;&lt;/li&gt; </code></pre> <p>Here is the (possible) relevant urls:</p> <pre><code>/admin/core/app/ HANDLER: changelist_view /admin/core/app/add/ HANDLER: add_view /admin/core/app/(.+)/history/ HANDLER: history_view /admin/core/app/(.+)/delete/ HANDLER: delete_view /admin/core/app/(.+)/ HANDLER: change_view </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload