Skip to content

Commit 23b04ab

Browse files
committed
Remove unnecessary django_version compat
this is not really used and elsewhere we do: from django import VERSION as django_version
1 parent bfc44be commit 23b04ab

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pylint_django/compat.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,3 @@
2222
except ImportError:
2323
from astroid.util import Uninferable
2424

25-
try:
26-
django = __import__("django")
27-
django_version = django.VERSION
28-
except ImportError:
29-
# if not available, will be handled by the django_installed checker
30-
django_version = (1, 5)
31-

0 commit comments

Comments
 (0)