Opened 9 months ago

Closed 9 months ago

#35307 closed New feature (invalid)

make async generic views

Reported by: amirreza Owned by: nobody
Component: Generic views Version: dev
Severity: Normal Keywords: async, generic
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

hello
i'm very new to async so this might be very dumb or maybe not, i didn't find anything about it with google so might as well see

i think we should add async generic class based views

my reasons:
1- easy to use
2- makes writing docs and tutorials on async django easier
3- it can be used as a standard on how to write async class based views
4- can attract more devs to use and contribute to async django

also i think seprating normal gcbv and async ones can make the code easier to debug
also leaves less un-used code in classes
and makes learning this much easier for beginners

anyways i hope this is not dumb :) and can help django improve

Change History (1)

comment:1 by Mariusz Felisiak, 9 months ago

Resolution: invalid
Status: newclosed

Class-based views already allow defining async method handlers, check out docs.

Note: See TracTickets for help on using tickets.
Back to Top