Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django-dynamic-formset and django-autocomplete-light integration bug

Im using the latest packages of django-dynamic-formset and django-autocomplete-light to build a custom form (like the classic Order/Products example). Everything work, but when I create a new line this is created the double and I can’t fix it. I think the problem is what the cloning method does. Someone can help me or has an example that works? Thanks.

like image 287
Carlos Mosquera Avatar asked Oct 24 '25 18:10

Carlos Mosquera


1 Answers

I hope you have solved your problem.

I had the same problem and after hours of reading posts I finally found this Topic.

You have to call the dynamic formset before form.media, of django autocomplete.

like image 105
paralosreg Avatar answered Oct 26 '25 09:10

paralosreg