#34062: object HttpResponseNotAllowed can't be used in 'await' expression
-------------------------------------+-------------------------------------
Reporter: Antoine Lorence | Owner: Antoine
| Lorence
Type: Bug | Status: assigned
Component: Generic views | Version: 4.1
Severity: Release blocker | Resolution:
Keywords: async | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson):
It's feasible, but I don't think it's required.
(We already test the full dispatch in many places elsewhere. What we're
looking for here is the `http_method_not_allowed()` is correctly adapted
when the view is async (i.e. has async handlers).
Make sense?
--
Ticket URL: <https://code.djangoproject.com/ticket/34062#comment:6>
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/0107018388af5db7-11e12a84-d02c-4fef-bfba-45b14381cd01-000000%40eu-central-1.amazonses.com.