Search code examples
djangomodelsmanytomanyfield

Django ManyToManyField options


It is possible to give blank=True, null=True to ManyToManyField without having problems? Or maybe I doing something wrong with my code..


Solution

  • You don't need null=True.

    blank=True will make that field optional.