added needed settings + fix missing import

This commit is contained in:
my_webapp user account
2017-09-23 10:43:01 +02:00
parent 2478e1b650
commit c73750f28a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
import datetime
from collections import defaultdict
from django.utils import timezone as tz
from django.db import models
# Create your models here.
@@ -66,7 +67,6 @@ both 'month' and 'year' keyword arguments")
qs = self.get_queryset(month=month, year=year)
data = self.calculate_data(qs)
print(qs, data)
return qs, data