Filed not required in django admin
This commit is contained in:
parent
b31dc9fc5f
commit
916c4b80f7
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user