diff --git a/django/conf/project_template/manage.py b/django/conf/project_template/manage.py
index 391dd88..656deaf 100755
|
a
|
b
|
|
| 1 | 1 | #!/usr/bin/env python |
| | 2 | import inspect |
| 2 | 3 | import os |
| 3 | 4 | import sys |
| 4 | 5 | |
| 5 | 6 | if __name__ == "__main__": |
| | 7 | __script__ = inspect.getfile(inspect.currentframe()) |
| | 8 | __script__ = os.path.realpath(os.path.abspath(__script__)) |
| | 9 | __dname__ = os.path.dirname(os.path.dirname(__script__)) |
| | 10 | if __dname__ not in sys.path: |
| | 11 | sys.path.insert(0, __dname__) |
| | 12 | |
| 6 | 13 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings") |
| 7 | 14 | |
| 8 | 15 | from django.core.management import execute_from_command_line |