#10938: add inlines into fieldsets
---------------------------------------+-----------------------------------
Reporter: ctao | Owner: aaugustin
Type: New feature | Status: new
Milestone: | Component: contrib.admin
Version: SVN | Severity: Normal
Resolution: | Keywords: inlines fieldsets
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
---------------------------------------+-----------------------------------
Comment (by stormlifter):
Part of the issue I see is that if you are overriding another app's forms
then it would be nice to be able to use an inline and add that into the
fieldset so that you don't have to redo everything. For example...
----
class UserProfileInline(admin.TabularInline):
model = UserProfile
class UserAdmin(UserAdmin):
inlines = [UserProfileInline]
----
The issue I am getting is that since the fieldsets are unable to include
any inline fields that the fields from the inline model are always forced
to the bottom, of course I could use JS to move them to the top, but
that's just boring. I could also override the form and make it save that
added field to the appropriate model, but that's just sloppy.
--
Ticket URL: <https://code.djangoproject.com/ticket/10938#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.