Code

Opened 7 years ago

Last modified 2 years ago

#4848 new New feature

Feature Proposal: Allowing inline fields to be specified in the fields tuple (newforms-admin)

Reported by: leifbyron Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Normal Keywords: nfa-someday newforms-admin inline models fields
Cc: ckesselh, gezuru@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In newforms-admin, it would be quite helpful to be able to specify both a models' fields and its inline models' fields in the fields tuple of the options class. This would allow inline model fields to be "mixed in" with the models' own fields on the model's admin page. There are many situations where this would be preferable to the current situation -- always having inline model fields rendered below the models' own fields.

I suggested this feature in the Django-developers group, and Adrian suggested that I open a ticket.

http://groups.google.com/group/django-developers/browse_thread/thread/c54d026eb46ad375/93bebf102281bb41#93bebf102281bb41

Attachments (0)

Change History (10)

comment:1 Changed 7 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Yes, I recently stumbled across that missing feature and I agree that it would be highly desirable. --lupo

comment:2 Changed 7 years ago by jkocherhans

  • Triage Stage changed from Unreviewed to Accepted

I'd rather come up with some way of naming each inline and using those names in the fields or fieldsets, but allowing inline forms to be placed in the middle of other form fields would be a great feature.

comment:3 Changed 6 years ago by brosner

  • Keywords nfa-someday added

This can be written backward compatible after the merge of newforms-admin.

comment:4 Changed 6 years ago by brosner

  • milestone set to post-1.0

comment:5 Changed 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:6 Changed 3 years ago by mlindsey

I would also like to see this feature.

comment:7 Changed 3 years ago by ramiro

#14491 asked for the possibility to intermix inlines with fieldsets and was closed as duplicate of this ticket.

comment:8 Changed 3 years ago by gabrielhurley

  • Severity set to Normal
  • Type set to New feature

comment:9 Changed 3 years ago by ckesselh

  • Cc ckesselh added
  • Easy pickings unset
  • UI/UX unset

comment:10 Changed 2 years ago by gezuru@…

  • Cc gezuru@… added

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.