Just for the records: "add another" is one compared feature in this 
comparison grid: https://www.djangopackages.com/grids/g/auto-complete/

Am Mittwoch, 2. März 2016 13:12:02 UTC+1 schrieb guettli:
>
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/5fc48950-89ea-41db-ab06-a54b8381a0e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to