[Django]-Django-taggit: make the tags not required in the admin

49👍

Did you try tags = TaggableManager(blank=True)?

blank – Controls whether this field is
required

… at least that’s what the docs say.

👤arie

0👍

I’m not sure why, but TaggableManager(blank=True) doesn’t work on a model I updated and migrated. Had to add this to the admin form (forms.ModelForm).

self.fields['tags'].required = False

Leave a comment