mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
adding manage.py to scripts
This commit is contained in:
parent
969cc4d5a8
commit
0102b8a0ee
|
@ -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'],
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user