change photographer to CharField and Button positions

This commit is contained in:
2022-01-02 10:21:38 +00:00
parent 4f6abae5b3
commit b38780e163
2 changed files with 8 additions and 10 deletions

View File

@@ -15,10 +15,7 @@ class Album(models.Model):
verbose_name="Thumbnail", max_length=200, null=True, blank=True
)
photographer = models.ForeignKey(
User, on_delete=models.SET_NULL, null=True, blank=True
)
photographer = models.CharField(verbose_name="Fotograph(en)", max_length=200, null=True, blank=True)
description = models.TextField(null=True, blank=True)
STATUS = (