ctl: add dev settings and use them for the ctl script
This commit is contained in:
parent
a974c54c22
commit
b17447a368
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Django settings for compte_agglo_montpellier project.
|
||||
|
||||
from settings import *
|
||||
|
||||
DEBUG = True
|
Reference in New Issue