Code

Opened 9 years ago

Closed 9 years ago

Last modified 8 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.

Attachments (0)

Change History (1)

comment:1 Changed 9 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.