简体   繁体   中英

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?

对于django admin中的适当“ add-another”弹出窗口,请尝试django-addanother

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM