mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
ignore F401 error on manage.py
This commit is contained in:
parent
178844d616
commit
4f9bb652f2
|
@ -12,7 +12,7 @@ if __name__ == '__main__':
|
|||
# issue is really that Django is missing to avoid masking other
|
||||
# exceptions on Python 2.
|
||||
try:
|
||||
import django
|
||||
import django # noqa
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
|
|
Loading…
Reference in New Issue
Block a user