Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#495 closed enhancement (invalid)

manipulators inherit from admin

Reported by: pspierce@… Owned by: Adrian Holovaty
Component: Metasystem Version:
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

Seems repetitive writing out in self.fields for a minipulator when much of the fields (at least for me) are redundant to the META.admin.fields. Requested behavior would be to have the the manipulator inherit from the admin view on each field and have them overwritten should they exist explicitely in the manipulator.

Change History (1)

comment:1 by Jacob, 19 years ago

Resolution: invalid
Status: newclosed

You only need to specify fields if you want to completely them; otherwise you can inherit from the object's automatic manipulator (see http://www.djangoproject.com/documentation/forms/#manipulators) and optionally modify self.fields in your subclass's __init__.

Also, please don't use this ticket tracker system except for actual defects; please direct support requests or questions of this type to the django-users list.

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