#27047: Popup inlines
-------------------------------+--------------------
Reporter: olivierdalang | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Hi,
Currently, Django has StackedInline and TabularInline.
TabularInlines work very well if you have many related models with few and
simple fields.
StackedInlies work very well if you have few related models with more and
bigger fields.
But when you have related models with a lot of required fields, and you
have a lot of relations, those two UI are not practical.
What about adding a third Inline subclass, which could be called
"PopupInline".
It would look much like the tabular inline, but all the fields would be
readonly, and adding and editing relations would happen in a popup.
I guess we could reuse some code used for RelatedWidgets, where the same
thing happen : you can edit a relation in a popup, and when you finish,
you're back to the main form, which is dynamically updated.
I think it would be quite consistent with the rest of django admin, both
in terms of user experience and in terms of code logic.
It also replace nested inlines in some cases (which aren't supported yet,
and are probably much more complex to implement).
Let me know what you think !
Olivier
--
Ticket URL: <https://code.djangoproject.com/ticket/27047>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.a59e4a5044d5d6e91213f1ec4080ec92%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.