#32077: HTTP view decorators (require_http_methods) not working with async views
-------------------------------------+-------------------------------------
Reporter: Hendrik Frentrup | Owner: nobody
Type: New feature | Status: new
Component: HTTP handling | Version: 3.1
Severity: Normal | Resolution:
Keywords: async views | Triage Stage:
decorators | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Hendrik Frentrup):
By the way, the initial testing yielded this [potential fix]
https://github.com/hendrikfrentrup/django/commit/8e726875270e7a7062f246709c131915276b88ab
The test for sync views all pass, but I guess a set of tests for async
views would be required. Will have a look into how to write async tests.
Any comments more than welcome.
--
Ticket URL: <https://code.djangoproject.com/ticket/32077#comment:1>
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/073.6d1bde92ac0ae316e7347ceabf950b17%40djangoproject.com.