diff --git a/config/photoapp/models.py b/config/photoapp/models.py index bdcdb63..68ed932 100644 --- a/config/photoapp/models.py +++ b/config/photoapp/models.py @@ -18,4 +18,7 @@ class Photo(models.Model): submitter = models.ForeignKey(get_user_model(), on_delete=models.CASCADE) - tags = TaggableManager() \ No newline at end of file + tags = TaggableManager() + + def __str__(self): + return self.title \ No newline at end of file