#495 closed enhancement (invalid)
manipulators inherit from admin
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
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 modifyself.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.