I found that django-autocomplete-light supports "Add another popup outside the admin":
http://django-autocomplete-light.readthedocs.org/en/latest/addanother.html This is exactly what I was looking for :-) Am Samstag, 27. Februar 2016 14:28:27 UTC+1 schrieb guettli: > > I use django-select2 <https://github.com/applegrew/django-select2> for > easy ForeignKey picking. Works nice. > > > But how can I add a new item in the ForeignKey table? > > > I would like to have a big [+] button and then a dialog should open. > > > AFAIK django-select2 does not help here. Is there a different library > which can help here? > > > The result should look like this "create user" example: > https://jqueryui.com/dialog/#modal-form > > > I don't care how the pop-up works. > > > Via ajax, browser pop-up, or like in django admin, ... > > > It should work and be re-usable. I don't want to invent this common > pattern again and again. > -- You received this message because you are subscribed to the Google Groups "Django users" 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]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/353df277-1093-4247-91d8-2536678d1516%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

