Skip to content

Commit 1abcc96

Browse files
committed
Move import to the top
1 parent 1ecaa90 commit 1abcc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/indexes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from collections import defaultdict
22
import itertools
3+
from collections import defaultdict
34

45
from django.db import NotSupportedError
56
from django.db.models import (
@@ -124,7 +125,6 @@ def create_mongodb_index(
124125
unique=False,
125126
column_prefix="",
126127
):
127-
128128
if self.contains_expressions:
129129
return None
130130
kwargs = {}

0 commit comments

Comments
 (0)