Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
A few places still imported the compat module for no reason - this
commit fixes that.
  • Loading branch information
chrisglass committed Aug 18, 2020
1 parent e72a11d commit 1d719a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion polymorphic/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from django.core.exceptions import FieldDoesNotExist
from django.db.models.query import ModelIterable, Q, QuerySet

from . import compat
from .query_translate import (
translate_polymorphic_field_path,
translate_polymorphic_filter_definitions_in_args,
Expand Down
2 changes: 0 additions & 2 deletions polymorphic/showfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

from django.db import models

from . import compat

RE_DEFERRED = re.compile("_Deferred_.*")


Expand Down
2 changes: 0 additions & 2 deletions polymorphic/templatetags/polymorphic_admin_tags.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from django.template import Library, Node, TemplateSyntaxError

from polymorphic import compat

register = Library()


Expand Down

0 comments on commit 1d719a0

Please sign in to comment.