mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-04-30 08:54:43 +00:00
ignore F401 error on manage.py
This commit is contained in:
parent
178844d616
commit
4f9bb652f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue