Search code examples
jquerypythondjangoautocompletedjango-autocomplete-light

django-autocomplete-light open popup on Create click


I'm developing a django form using django-autocomplete-light.

I would like to create a new choice in the autocomplete field: this is the tutorial I'm following: link.

The tutorial example is not exactly what I want: I would like to click on "Create new item" and show a popup displaying the model form.

How can I accomplish this?


Solution

  • For proper "add-another" popups like in django admin, try django-addanother.