Added Explorer bio / description field.

This commit is contained in:
Marcus Scholz 2020-12-24 18:53:30 +01:00
parent 2022a924c4
commit 88bffbef8e

View File

@ -40,6 +40,12 @@ class Explorer(models.Model):
on_delete=models.CASCADE,
related_name='explorer'
)
bio = models.TextField(
blank=True,
null=True,
verbose_name=_('Biography / Description'),
help_text=_('Describe yourself, your preferences, etc. in a few sentences.')
)
profile_image = ThumbnailerImageField(
blank=True,
null=True,
@ -49,7 +55,6 @@ class Explorer(models.Model):
verbose_name=_('Profile image'),
help_text=_('Optional profile pic for display in explorer profile')
)
favorite_places = models.ManyToManyField(
Place,
related_name='favorite_places',