#33350: some view decorators do not work with Django REST framework in Django 
4.0
--------------------------------+------------------------------------------
     Reporter:  Terence Honles  |                    Owner:  Terence Honles
         Type:  Bug             |                   Status:  closed
    Component:  HTTP handling   |                  Version:  4.0
     Severity:  Normal          |               Resolution:  needsinfo
     Keywords:                  |             Triage Stage:  Unreviewed
    Has patch:  1               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------------
Changes (by Mariusz Felisiak):

 * status:  assigned => closed
 * resolution:   => needsinfo


Comment:

 I don't see how this can be a regression, these decorators use functions
 from [https://docs.djangoproject.com/en/4.0/ref/utils/#module-
 django.utils.cache django.utils.cache] which are documented as accepting
 `HttpResponse` 🤔 Also `Response` defined in `django-rest-framework` is a
 subclass of `HttpResponse`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33350#comment:4>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.2db1d6a34e27cc2bb7d2651633776ec5%40djangoproject.com.

Reply via email to