#33798: @cache_control test fails after upgrade to 4.0.5
-------------------------------------+-------------------------------------
     Reporter:  Matt Hegarty         |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Uncategorized        |                  Version:  4.0
     Severity:  Normal               |               Resolution:
     Keywords:  cache_control        |             Triage Stage:
  decorator                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Matt Hegarty):

 Hacking this fixes the test:


 {{{
 if not hasattr(request.request, "META"):
 }}}

 
https://github.com/django/django/blob/d80a2585532ef15184afed6cf4ec1358198a894d/django/views/decorators/cache.py#L34

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33798#comment:1>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701818b54394c-fb8a830e-1215-49c2-8cd5-5969313cd79c-000000%40eu-central-1.amazonses.com.

Reply via email to