I believe that there is not other way to do this with AJAX. This is an asynchronous call to database server. This not refresh your html bye
Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos El vie., 18 sept. 2020 a las 1:49, Emmanuel Oppong Ntiamoah (< ladamo...@gmail.com>) escribió: > Good day friends, Please i have a small challenge, I have an inline > formset in my admin where users can add more products to a store. The user > can also add a product if It doesn’t already exist. The problem is when the > user adds a new product and wants to add more product fields to the Store > model the product the user added doesn’t show in the dropdown of the new > field unless i refresh the whole interface. Please any way to fix this. > Thanks > > From Ntiamoah > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/8F6B832D-E616-4330-B7FE-EA3E9C4A6CF6%40gmail.com > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKVvSDCZzwFzhb99_QQUYHd_gQk1V3kDM%3D1QRMgeTYB52Hb5Hg%40mail.gmail.com.