mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 14:22:16 +00:00
Move local settings to "conf" module
This commit is contained in:
0
conf/__init__.py
Normal file
0
conf/__init__.py
Normal file
@@ -15,10 +15,10 @@ ADMINS = (
|
|||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
|
|
||||||
# Import db settings from dbsettings.py
|
# Import db settings from dbsettings.py
|
||||||
from dbsettings import *
|
from conf.dbsettings import *
|
||||||
|
|
||||||
# Import the Broker settings
|
# Import the Broker settings
|
||||||
from brokersettings import *
|
from conf.brokersettings import *
|
||||||
|
|
||||||
# Local time zone for this installation. Choices can be found here:
|
# Local time zone for this installation. Choices can be found here:
|
||||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||||
@@ -167,7 +167,7 @@ EVE_PROXY_KEEP_LOGS = 30
|
|||||||
|
|
||||||
# try and import local settings
|
# try and import local settings
|
||||||
try:
|
try:
|
||||||
from settingslocal import *
|
from conf.settingslocal import *
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user