implemented viewcount
This commit is contained in:
parent
a8b2b6d1c0
commit
dab1a625c6
6 changed files with 24 additions and 2 deletions
|
|
@ -30,3 +30,4 @@ class Blogpost(models.Model):
|
|||
tags = models.ManyToManyField(Tag)
|
||||
topic = models.ForeignKey(Topic, blank=True, null=True, on_delete=models.CASCADE)
|
||||
mdfile = models.CharField(max_length=255)
|
||||
views = models.IntegerField(default=0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue