Hello,
I've recently upgraded to 1.3.1 and am getting a NoReverseMatch exception with
piston when attempting to view my admin panel. Has anyone else seen this with
1.3.1?
Here is the relevant url.py config for my piston:
blah_resource = Resource(handler=BLAH)
urlpatterns = patterns('',
url(r'^status$', blah_resource, { 'emitter_format': 'json' }),
)
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py", line
111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.6/dist-packages/django/contrib/admin/sites.py", line
209, in wrapper
return self.admin_view(view, cacheable)(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/django/utils/decorators.py", line 91,
in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/django/views/decorators/cache.py",
line 88, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/django/contrib/admin/sites.py", line
192, in inner
return view(request, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/django/views/decorators/cache.py",
line 88, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/django/contrib/admin/sites.py", line
345, in index
'admin_url': reverse('admin:%s_%s_changelist' % info,
current_app=self.name),
File "/usr/lib/python2.6/dist-packages/django/core/urlresolvers.py", line
473, in reverse
(prefix, resolver.reverse(view, *args, **kwargs)))
File "/usr/lib/python2.6/dist-packages/django/core/urlresolvers.py", line
392, in reverse
"arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'piston_token_changelist' with arguments '()' and
keyword arguments '{}' not found.
Any help would be greatly appreciated.
________________________________
Note: This email is for the confidential use of the named addressee(s) only and
may contain proprietary, confidential or privileged information. If you are not
the intended recipient, you are hereby notified that any review, dissemination
or copying of this email is strictly prohibited, and to please notify the
sender immediately and destroy this email and any attachments. Email
transmission cannot be guaranteed to be secure or error-free. Jump Trading,
therefore, does not make any guarantees as to the completeness or accuracy of
this email or any attachments. This email is for informational purposes only
and does not constitute a recommendation, offer, request or solicitation of any
kind to buy, sell, subscribe, redeem or perform any type of transaction of a
financial product.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.