Add license field on photos

This commit is contained in:
Alexandre Iooss 2021-10-22 18:06:31 +02:00
parent fb43ac14b7
commit 55e1b71f3a
3 changed files with 28 additions and 1 deletions

View file

@ -50,6 +50,11 @@ class PhotoExtended(models.Model):
on_delete=models.CASCADE,
verbose_name=_("owner"),
)
license = models.CharField(
max_length=255,
blank=True,
verbose_name=_("license"),
)
class Meta:
verbose_name = 'Extra fields'