Opened 11 years ago

Closed 11 years ago

#5950 closed (duplicate)

Allow to specify the fields to render in generic views (add,update)

Reported by: Adrián Owned by: nobody
Component: Generic views Version: master
Severity: Keywords: custom fields generic views create update
Cc: aribao@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


newforms.form_for_model an newforms.form_for_instance allow a fields argument where you can specify the fields you want to render.
It would be great the same feature in the generic views create and update.

Change History (1)

comment:1 Changed 11 years ago by Malcolm Tredinnick

Resolution: duplicate
Status: newclosed

Since generic views haven't been ported to newforms yet, this is a bit of a moot point. The patch in #3639 tries to add functionality like this, though (using formfield callback instead of a fields list, but it's basically the same). Closing this ticket in favour of that #3639, since we don't need multiple "port to newforms" tickets hanging around.

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