Hello!
It seems to me that bug #18776 <https://code.djangoproject.com/ticket/18776>is
back again but I not experienced Django user so I would appreciate
somebody else to confirm the problem:
OS: Fedora 19
Python version 3.3.2
Django versions tested: 1.5.1, 1.6a, latest Git clone
views.py:
class RegisterView(FormView):
....
def get_success_url(self):
return reverse_lazy('tournaments:players', kwargs={'tournament_id':
self.tournament.id, 'player_id':
self.player.id})
urls.py:
...
url(r'^players/(?P<tournament_id>\d+)/(?P<player_id>\d*)$',
views.PlayersView.as_view(), name='players'),
URL is generated properly by reverse_lazy() but I get this error during
page redirection:
'__proxy__' object has no attribute 'decode'
Request Method: POST Request URL:
http://127.0.0.1:8000/tournaments/register/1/ Django Version: 1.6a1 Exception
Type: AttributeError Exception Value:
'__proxy__' object has no attribute 'decode'
Exception Location: /usr/lib64/python3.3/urllib/parse.py in <genexpr>,
line 96 Python Executable: /usr/bin/python3 Python Version: 3.3.2
Michal
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.