fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b407504
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 1 Jun 2021 11:05:38 +0000
(13:05 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 1 Jun 2021 11:05:38 +0000
(13:05 +0200)
src/stats/models.py
patch
|
blob
|
history
diff --git
a/src/stats/models.py
b/src/stats/models.py
index
9edc17b
..
e95e759
100644
(file)
--- a/
src/stats/models.py
+++ b/
src/stats/models.py
@@
-32,6
+32,6
@@
class Visits(models.Model):
continue
else:
cls.objects.update_or_create(
- book=book,
year=year, month=month
,
+ book=book,
date=date
,
defaults={'views': views, 'unique_views': uviews}
)