-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning #207
Conversation
pylint_django/compat.py
Outdated
@@ -28,16 +29,3 @@ | |||
# if not available, will be handled by the django_installed checker | |||
django_version = (1, 5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIY we're Python 3 only ATM so no need to worry about older Django versions, right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hardcoded 1.5
was really just to try to avoid complete failures due to not being able to import django at all. I will look through this but I think this method can go completely too.
this is not really used and elsewhere we do: from django import VERSION as django_version
@atodorov placholder PR to clean up the old compat code that is no longer necessary