1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pyinventory_ynh.git synced 2024-09-03 20:16:09 +02:00

rename settings/urls

This commit is contained in:
JensDiemer 2020-12-29 12:52:08 +01:00
parent 5350949560
commit 465bf8b8eb
4 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ import sys
def main():
os.environ['DJANGO_SETTINGS_MODULE'] = 'ynh_pyinventory_settings'
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)

View file

@ -2,7 +2,7 @@
WSGI config
"""
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'ynh_pyinventory_settings'
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
application = get_wsgi_application()