#10460: Better redirect for logout view of Authentication
-------------------------------------+--------------------------------------
          Reporter:  chronos         |         Owner:  nobody                   
              
            Status:  new             |     Milestone:  1.1                      
              
         Component:  Authentication  |       Version:  SVN                      
              
        Resolution:                  |      Keywords:  Authentication, login, 
logout, redirect
             Stage:  Accepted        |     Has_patch:  1                        
              
        Needs_docs:  1               |   Needs_tests:  0                        
              
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by steingrd):

 I've attempted to write some tests for the first patch. My patch includes
 the changes from the views.py.diff patch.

 The tests do not cover the case where the next_page option is specified in
 the urlconf. The reason is that django.contrib.auth.urls is used, this
 urlconf does not a contain such an entry. The tests uses
 `django.contrib.auth.SESSION_KEY in client.request.session` to check if a
 user is logged in.

 If someone could confirm that the patch is going in the right direction,
 I'll make an attempt to write documentation as well.

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