forked from DGNum/gestioCOF
dev: set explicitely DJANGO_SETTINGS_MODULE
This commit is contained in:
parent
4fedf3453d
commit
81a4dbef7c
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gestioasso.settings.local")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "gestioasso.settings")
|
||||||
|
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue