[Answered ]-How to set django many-to-many field to accept null

2👍

add required=False in definition ads field in the form. When you override a field in model form, no attributes are inherited from the model. You have to add all constraints to it like max_length, required etc.

👤Rohan

Leave a comment