You are right, with normal reverse it works properly. Thanks a lot for your 
advice!

Michal

Dne sobota, 22. června 2013 19:41:20 UTC+2 Andrey Antukh napsal(a):
>
> Hi Michal.
>
> In my opinion, your usage of reverse_lazy is wrong. You should use reverse 
> as is (not lazy).
> You should use lazy method when you declare class attributes, etc...
>
> Andrey
>
>
> 2013/6/22 Michal Sládek <[email protected] <javascript:>>
>
>> I checked the original fix and made similar changes in 
>> django/http/response.py:
>>
>> 6a7
>> > from django.utils.encoding import force_str 
>> 457c458,459
>> <         parsed = urlparse(redirect_to)
>> ---
>> >         redirect_to_as_str = force_str(redirect_to)
>> >         parsed = urlparse(redirect_to_as_str)
>>
>> I don't know whether it is proper solution or not, but as a temporary fix 
>> it works for me.
>>
>>
>> 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] <javascript:>.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/django-developers.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Andrey Antukh - Андрей Антух - <[email protected] <javascript:>>
> http://www.niwi.be/about.html
> http://www.kaleidos.net/A5694F/
>
> "Linux is for people who hate Windows, BSD is for people who love UNIX"
> "Social Engineer -> Because there is no patch for human stupidity" 
>

-- 
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.


Reply via email to