#9773: float argument required when using redirect_to in simple.py
---------------------------+------------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new            |   Milestone:  post-1.0  
Component:  Uncategorized  |     Version:  1.0       
 Keywords:  redirect_to    |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Exception 'float argument required ' occurs when i call the redirect_to
 method which in Simple.py in case of the url contain Chinese or Japanese.

 url containing Chinese looks like "%E8%AF%95%E8%AF%95%E5%9C%B0%E4%B8%A"。

 i guest that the parameter in line 35 will put kwargs's value to %E , so ,
 the exception occurs.

 {{{
  34     if url is not None:
  35         return HttpResponsePermanentRedirect(url % kwargs)
 }}}


 so, how can fix it ???

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9773>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to