Carlos Mosquera
Carlos Mosquera

Reputation: 41

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.

Upvotes: 4

Views: 696

Answers (2)

Si Thu
Si Thu

Reputation: 1390

django-autocomplete-light version 3.8.1 would solves your issue. It worked for me.

Upvotes: 0

paralosreg
paralosreg

Reputation: 160

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.

Upvotes: 2

Related Questions