mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
ignore F401 error on manage.py
This commit is contained in:
parent
28f1816ed4
commit
32169f0cbf
|
@ -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