#10061: incorrect logout link in admin
-------------------------------------------+--------------------------------
          Reporter:  lashni                |         Owner:  Alex
            Status:  assigned              |     Milestone:      
         Component:  django.contrib.admin  |       Version:  SVN 
        Resolution:                        |      Keywords:      
             Stage:  Accepted              |     Has_patch:  0   
        Needs_docs:  0                     |   Needs_tests:  0   
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by batiste):

 Hello, I have the same error with this test:



 {{{

 from django.test import TestCase

 from datetime import datetime



 class PostBugTestCase(TestCase):



     fixtures = ['tests.json']



     def test_stuff(self):



         from django.test.client import Client

         c = Client()

         data = {'question':'test', 'pub_date':datetime.now()}

         print c.login(username='batiste', password='b')

         response = c.post('/admin/toto/poll/add/?toto=true', data)

         #print response.content

         self.assertRedirects(response, '/admin/toto/poll/')



 }}}



 I applied the patch without luck.

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