Opened 5 years ago

Closed 5 years ago

#31526 closed New feature (wontfix)

Include Admin model views as Generic Views

Reported by: Amartya Gaur Owned by: nobody
Component: Generic views Version: 3.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently, to implement various features like filter by date, name, or other fields and to even provide inline model forms, there is too much work required. Even after that, we need to use external libraries like django-filters etc., while creating an admin form, it is as simple as including a list of fields we want to filter by.

The suggestion here is to provide those functionalities as generic views by having template tags for including those filter by column or the inline editing sets wherever we want in the template.

Change History (1)

comment:1 by Carlton Gibson, 5 years ago

Resolution: wontfix
Status: newclosed

Hi Amartya.

Thanks for the report. As it stands this isn't really addressable: it's too broad and ill-defined. Yes, I get the request, but what exactly would that involve? There's work in spelling that out.

Historically we've suggested that additions like this live in third-party packages. (There are already a few offering variations on the generic views.)
That way the ideas can evolve and mature independently of Django's release cycle, which is comparatively slow, and requires API stability, that simply isn't possible when prototyping new ideas.

Once such views are evolved, and there's a good uptake (showing demand), we can approach the mailing list to discuss whether or not they would be suitable for inclusion into the core framework.

I hope that makes sense.

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