Skip to content

Commit

Permalink
Remove unnecessary django_version compat
Browse files Browse the repository at this point in the history
this is not really used and elsewhere we do:
from django import VERSION as django_version
  • Loading branch information
atodorov committed Dec 14, 2018
1 parent 5e99c51 commit 633a68b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pylint_django/compat.py
Expand Up @@ -22,10 +22,3 @@
except ImportError:
from astroid.util import Uninferable

try:
django = __import__("django")
django_version = django.VERSION
except ImportError:
# if not available, will be handled by the django_installed checker
django_version = (1, 5)

0 comments on commit 633a68b

Please sign in to comment.