aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index c3bcdc2..2a500c1 100644
--- a/views.py
+++ b/views.py
@@ -17,7 +17,6 @@ import datetime
from django.db import connection
from django.db.models import Count, Max
-from django.db.models.expressions import RawSQL
from django.db.models.functions import ExtractWeek, ExtractYear, Length
from django.http import Http404
from django.shortcuts import get_object_or_404, render
@@ -31,6 +30,7 @@ import edt
if connection.vendor == "postgresql":
from django.contrib.postgres.aggregates import ArrayAgg
+ from django.db.models.expressions import RawSQL
def index(request):
years = Year.objects.order_by("name")