U api update

pull/22/head
vapao 2020-01-07 14:45:05 +08:00
parent 73aef8a924
commit 818f5265d2
2 changed files with 6 additions and 6 deletions

View File

@ -112,3 +112,9 @@ USE_TZ = True
AUTHENTICATION_EXCLUDES = (
'/account/login/',
)
# override default config
try:
from spug.overrides import *
except ImportError:
pass

View File

@ -11,12 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
try:
from public import setting_overrides
settings_path = 'public.setting_overrides'
except ImportError:
settings_path = 'public.settings'
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug.settings')