adding manage.py to scripts

This commit is contained in:
Ashley Camba 2013-12-17 16:44:20 +01:00
parent 969cc4d5a8
commit 0102b8a0ee
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,6 @@
import os
import sys
import {{ cookiecutter.project_name }}
try:
from setuptools import setup
@ -25,4 +24,5 @@ setup(
install_requires=[
],
zip_safe=False,
scripts=['manage.py'],
)

View File

@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{cookiecutter.project_name}}.config.settings")
os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
from configurations.management import execute_from_command_line