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

 * has_patch:  1 => 0
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 We've discussed this with Carlton, and see two possible solutions:
 - allow for `HttpRequest` duck-typing, or
 - changing errors to be based on missing `method_decorator()` call, maybe
 checking that `request` is not a callable 🤔 or sth similar.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33350#comment:9>
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.6de28ed360a787efbaa73ca5c399bfef%40djangoproject.com.

Reply via email to