Skip to content

Commit 4c36e76

Browse files
sloriapennersr
authored andcommitted
fix(REAMDE): period kwarg was improperly cased
1 parent 7e38039 commit 4c36e76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Now, let's store some one-off statistics:
119119
StatisticByDate.objects.record(
120120
metric=Metric.objects.SHOPPING_ORDER_COUNT,
121121
value=n,
122-
Period=Period.LIFETIME)
122+
period=Period.LIFETIME)
123123
124124
# Users signed up, at a specific date
125125
dt = date.today()
@@ -130,7 +130,7 @@ Now, let's store some one-off statistics:
130130
StatisticByDate.objects.record(
131131
metric=Metric.objects.USERS_USER_COUNT,
132132
value=n,
133-
Period=Period.DAY)
133+
period=Period.DAY)
134134
135135
Creating code to store statistics yourself can be a tedious job.
136136
Luckily, a few shortcuts are available to track statistics without

0 commit comments

Comments
 (0)