Filed not required in django admin

This commit is contained in:
reverend 2020-12-24 16:42:27 +01:00
parent b31dc9fc5f
commit 916c4b80f7

View File

@ -31,7 +31,8 @@ class Explorer(models.Model):
favorite_places = models.ManyToManyField( favorite_places = models.ManyToManyField(
Place, Place,
related_name='favorite_places', related_name='favorite_places',
verbose_name='Explorers favorite places' verbose_name='Explorers favorite places',
blank=True
) )
def __str__(self): def __str__(self):