mirror of https://github.com/openspug/spug
U api update
parent
73aef8a924
commit
818f5265d2
|
@ -112,3 +112,9 @@ USE_TZ = True
|
|||
AUTHENTICATION_EXCLUDES = (
|
||||
'/account/login/',
|
||||
)
|
||||
|
||||
# override default config
|
||||
try:
|
||||
from spug.overrides import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue