Skip to content

Commit

Permalink
Modified models
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniDiazTech committed May 26, 2021
1 parent 749eb9c commit 56f8e3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/photoapp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ class Photo(models.Model):

submitter = models.ForeignKey(get_user_model(), on_delete=models.CASCADE)

tags = TaggableManager()
tags = TaggableManager()

def __str__(self):
return self.title

0 comments on commit 56f8e3b

Please sign in to comment.