#37124: AccessMixin: object HttpResponseRedirect can't be used in 'await'
expression
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: zky
Type: New feature | Status: closed
Component: Uncategorized | Version: dev
Severity: Normal | Resolution:
| needsnewfeatureprocess
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* resolution: => needsnewfeatureprocess
* status: assigned => closed
Comment:
Yes, these mixins were never in-scope for allowing View to define
asynchronous handlers. (So New Feature is correct.)
Whilst I disagree with Mykhailo about duplicating View in a separate async
version, I agree that some discussion of how to proceed is called for.
> ... so you'd end up doing two separate queries ...
Yes, any async version here would need to ensure it was using the same
pathways as the view it's going to be applied to.
--
Ticket URL: <https://code.djangoproject.com/ticket/37124#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 visit
https://groups.google.com/d/msgid/django-updates/0107019e87642b50-f2f6b408-741b-470e-b773-9f62dcc45673-000000%40eu-central-1.amazonses.com.