#15929: test.client.RequestFactory keeps state
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  m.vantellingen@…                   |         Status:  new
                   Type:  Bug        |      Component:  Testing framework
              Milestone:             |       Severity:  Normal
                Version:  1.3        |       Keywords:
             Resolution:             |      Has patch:  1
           Triage Stage:  Accepted   |    Needs tests:  1
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------

Comment (by mvantellingen):

 Well the root cause is obviously that the AuthenticationMiddleware
 modifies the WSGIRequest class.
 The proper solution is to actually not do this, but there are probably
 reasons why this is done :-)

 I'm not sure if django should support custom middleware which modifies
 django internals.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15929#comment:5>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to