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, on_delete=models.CASCADE,
related_name='explorer' 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( profile_image = ThumbnailerImageField(
blank=True, blank=True,
null=True, null=True,
@ -49,7 +55,6 @@ class Explorer(models.Model):
verbose_name=_('Profile image'), verbose_name=_('Profile image'),
help_text=_('Optional profile pic for display in explorer profile') help_text=_('Optional profile pic for display in explorer profile')
) )
favorite_places = models.ManyToManyField( favorite_places = models.ManyToManyField(
Place, Place,
related_name='favorite_places', related_name='favorite_places',