#13115: Display controls in particular fieldset in django admin add page
horizontally
-------------------------------------------+--------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by gabrielhurley):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Just FYI, this is not the easiest thing to do. It's not that hard to make
a single widget that has multiple fields on one row, but making multiple
widgets coexist on one row requires changing how the admin templates
render the rows.
Right now it just uses a for loop to render each field in its own div, and
render the appropriate label and widget inside that div.
Making it allow horizontally-arranged bits would involve changes to the
admin templates, admin stylesheet, and to the forms component itself (to
add some sort of attribute determining which fields should be floated next
to each other).
You could implement it entirely in admin, but if you're going to do all
that work, why not implement it for all forms instead of just admin
forms...
--
Ticket URL: <http://code.djangoproject.com/ticket/13115#comment:1>
Django <http://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.