fields=(('Field1','Field2'), ('Field3','Field4'))
Field1 | Field2
Field3 | Field4
But if I would like to merge Field 2 and Field 4 into one field and have
one big field, it's impossible.
Field1 |
Field2 | Field4
Field3 |
Field4 is one big field here
It's very useful for example if I want to show one big picture(avatar) on
the right(or left) side of the form. I hope it's clear what I mean
--
Ticket URL: <https://code.djangoproject.com/ticket/28994>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
No, I'm not sure what you mean. Specifically, 'merge Field 2 and Field 4
into one field and have one big field" is unclear. Maybe if you provided a
sample project that would help clarify.
--
Ticket URL: <https://code.djangoproject.com/ticket/28994#comment:1>
Comment (by Rovshan Musayev):
For example, to reorganize fields like in the picture:
[[Image(https://cdn.discourse.org/sitepoint/uploads/default/21471/b96216ac5f87b80c.png)]].
Is it only way currently to override change_form.html and fieldset.html ?
--
Ticket URL: <https://code.djangoproject.com/ticket/28994#comment:2>
* status: new => closed
* resolution: => wontfix
Comment:
Yes, I think complex form layouts like that are outside the scope of the
admin.
--
Ticket URL: <https://code.djangoproject.com/ticket/28994#comment:3>