#37065: @method_decorator can't be used on async view at class-level with
name="dispatch"
-------------------------------+--------------------------------------
     Reporter:  Jacob Walls    |                    Owner:  Vishy Algo
         Type:  Bug            |                   Status:  assigned
    Component:  Documentation  |                  Version:  5.2
     Severity:  Normal         |               Resolution:
     Keywords:  async          |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Jacob Walls):

 * component:  Utilities => Documentation

Comment:

 Thanks, Carlton, that looks great. As you might have guessed, I dashed
 this off while debugging some tests, unfortunately just bewitched by the
 mental model that ''this recipe works for decorating the whole class''
 without thinking about `method_decorator`'s responsibility. As you well
 point out, we're just missing some docs. Thanks Vishy for the discussion.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37065#comment:11>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019e310ece5d-418845d8-83fd-48ec-96f4-ccfa55b8e947-000000%40eu-central-1.amazonses.com.

Reply via email to