ignore F401 error on manage.py

This commit is contained in:
Fabio C. Barrioneuvo da Luz 2016-09-15 00:56:48 -03:00
parent 178844d616
commit 4f9bb652f2

View File

@ -12,7 +12,7 @@ if __name__ == '__main__':
# issue is really that Django is missing to avoid masking other # issue is really that Django is missing to avoid masking other
# exceptions on Python 2. # exceptions on Python 2.
try: try:
import django import django # noqa
except ImportError: except ImportError:
raise ImportError( raise ImportError(
"Couldn't import Django. Are you sure it's installed and " "Couldn't import Django. Are you sure it's installed and "