[Answer]-Django models created twice?

1đź‘Ť

Ok, I solved my question by assigning a unique=True value in the Attribute model (Attribute.name) so there’s no same Attribute on the same Item class. What I did is a “patch” but doesn’t solve the real problem, the view being called twice.

Leave a comment