diff options
author | Teddy Wing | 2014-04-19 19:37:37 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-19 19:38:50 -0400 |
commit | cf7099b8cb8e3061175e483682238936618c1d24 (patch) | |
tree | f943510efb5ae83384b4fd21f7b030afdde06c23 /examples/djangoproject/manage.py | |
download | django-sneak-peek-cf7099b8cb8e3061175e483682238936618c1d24.tar.bz2 |
Initial commit. Base example Django project.
* Create a new Django 1.4 project in examples/ for testing
* Add .gitignore
Diffstat (limited to 'examples/djangoproject/manage.py')
-rw-r--r-- | examples/djangoproject/manage.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/djangoproject/manage.py b/examples/djangoproject/manage.py new file mode 100644 index 0000000..eb2e48a --- /dev/null +++ b/examples/djangoproject/manage.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoproject.settings") + + from django.core.management import execute_from_command_line + + execute_from_command_line(sys.argv) |