Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#495 closed enhancement (invalid)

manipulators inherit from admin

Reported by: pspierce@… Owned by: adrian
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: UI/UX:

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 Changed 10 years ago by jacob

  • Resolution set to invalid
  • Status changed from new to closed

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