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
- [Django]-Disable HTML escaping in Django's TextField
- [Django]-Django signals vs. overriding save method
- [Django]-Many-To-Many Fields View on Django Admin
Source:stackexchange.com