#34062: object HttpResponseNotAllowed can't be used in 'await' expression
-------------------------------------+-------------------------------------
     Reporter:  Antoine Lorence      |                    Owner:  Antoine
                                     |  Lorence
         Type:  Bug                  |                   Status:  closed
    Component:  Generic views        |                  Version:  4.1
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  async                |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

 In [changeset:"ecf6506f44cd09021927a821eb14e3f7f726ab14" ecf6506f]:
 {{{
 #!CommitTicketReference repository=""
 revision="ecf6506f44cd09021927a821eb14e3f7f726ab14"
 [4.1.x] Fixed #34062 -- Updated View.http_method_not_allowed() to support
 async.

 As with the options() methods, wrap the response in a coroutine if
 the view is async.

 Co-authored-by: Carlton Gibson <carlton.gib...@noumenal.es>

 Backport of 9b0c9821ed4dd9920cc7c5e7b657720d91a89bdc from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34062#comment:13>
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/0107018389a7c7e2-40bbbafd-35dd-48da-9cfe-a97310314172-000000%40eu-central-1.amazonses.com.

Reply via email to