ctl: add dev settings and use them for the ctl script

This commit is contained in:
Benjamin Dauvergne 2013-06-04 15:55:20 +02:00
parent a974c54c22
commit b17447a368
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ sys.path.append(os.path.join(
'apps'))
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "compte_agglo_montpellier.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "compte_agglo_montpellier.settings_dev")
from django.core.management import execute_from_command_line

View File

@ -0,0 +1,5 @@
# Django settings for compte_agglo_montpellier project.
from settings import *
DEBUG = True