#24722: test client puts different results in response.context when nested view 
is
redirected with process_request vs process_response middleware
-------------------------------+-------------------------
     Reporter:  electricjay    |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:  test client
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+-------------------------
 When using the test client:

 When a view which calls another view and middleware causes the inner view
 to redirect - the contents of '''results.context''' will be different
 depending on if it was '''process_request''', or '''process_response'''
 that initiated the redirect.

 Test case for this error is in gitub:
 https://github.com/electricjay/django/tree/test_client_nested_testcase

 This problem was discovered when creating the pull request
 https://github.com/django/django/pull/4574 for ticket #24696

--
Ticket URL: <https://code.djangoproject.com/ticket/24722>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.2e4875d09b93a554ff23dce90e4b4b2f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to