Hi. Please excuse my ignorance in this affairs.
For an specific
URI, I have the following error
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/django/views/generic/base.py", line 47, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/django/views/generic/base.py", line 68, in dispatch
return handler(request, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/django/views/generic/base.py", line 151, in get
url = self.get_redirect_url(**kwargs)
File "/usr/local/lib/python2.6/dist-packages/django/views/generic/base.py", line 146, in get_redirect_url
return url % kwargs
TypeError: not enough arguments for format string
The version I use is 1.3.1, and the urls.py line determining the redirection is
(r'^planes/((?P<anything>.*))', RedirectView.as_view(url='/tmovil/planes/%(anything)s', query_string=True)),
Is it possible the bug reported in
ticket 16842 is cause for this error? If not, should I file a bug?
Thanks
On Saturday, August 13, 2011 12:47:30 AM UTC-4, Karen Tracey wrote: