#5925: Unable to use urlresolvers (url,reverse ) feature in redirect argument of
decorator user_passes_test
------------------------------------+---------------------------------------
          Reporter:  anonymous      |         Owner:  nobody                    
                 
            Status:  new            |     Milestone:                            
                 
         Component:  Uncategorized  |       Version:  SVN                       
                 
        Resolution:                 |      Keywords:  
urlresolver,reverse,decorator,url,permalink
             Stage:  Accepted       |     Has_patch:  0                         
                 
        Needs_docs:  0              |   Needs_tests:  0                         
                 
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Comment (by guettli):

 I think it is better to alter reverse() than to invent a new method
 lazy_reverse(). The recursive import error results
 in very strange Exceptions: Modules are missing methods/attributes that
 are in the source code. It took me some time
 to find out what's wrong, although I am using Python since seven years.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5925#comment:8>
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