summaryrefslogtreecommitdiffstats
path: root/omaha_server/omaha/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'omaha_server/omaha/api.py')
-rw-r--r--omaha_server/omaha/api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/omaha_server/omaha/api.py b/omaha_server/omaha/api.py
index e0f36c4..58712fe 100644
--- a/omaha_server/omaha/api.py
+++ b/omaha_server/omaha/api.py
@@ -30,6 +30,7 @@ from rest_framework import pagination
from rest_framework.views import APIView
from rest_framework.response import Response
+import pytz
from omaha.statistics import (
get_users_statistics_months,
@@ -60,6 +61,7 @@ from omaha.models import (
)
from omaha.utils import get_month_range_from_dict
+
class BaseView(mixins.ListModelMixin, mixins.CreateModelMixin,
mixins.DestroyModelMixin, mixins.RetrieveModelMixin,
viewsets.GenericViewSet):