Correction
This commit is contained in:
parent
880e0e775d
commit
a170e12c1c
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ class GalleryDetailView(LoginRequiredMixin, DetailView):
|
|||
|
||||
#Increment the photo view count
|
||||
|
||||
context["photos"].update(increment_count=F('increment_count') + 1)
|
||||
context["photos"].update(view_count=F('view_count') + 1)
|
||||
|
||||
return context
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue