diff options
Diffstat (limited to 'db.py')
-rw-r--r-- | db.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,11 +16,11 @@ from django.db import connections from django.db.models import Manager -from django.db.models.query import QuerySet +from django.db.models.functions import Extract from django.db.models.sql.compiler import SQLCompiler from django.db.models.sql.query import Query from django.db.models.sql.where import WhereNode - +from django.db.models.query import QuerySet class ExtractWeek(Extract): lookup_name = "week" |