mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-08-28 14:42:08 +00:00
pyi2phosts/settings.py: import local_settings after all
This commit is contained in:
parent
5b5103293a
commit
42964c6047
@ -99,11 +99,6 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.admin',
|
'django.contrib.admin',
|
||||||
)
|
)
|
||||||
|
|
||||||
# include local settings
|
|
||||||
try:
|
|
||||||
from local_settings import *
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
# template for local settings:
|
# template for local settings:
|
||||||
"""
|
"""
|
||||||
@ -116,3 +111,10 @@ MY_B64 = 'my_base64_hash'
|
|||||||
# also may be put in local settings:
|
# also may be put in local settings:
|
||||||
LOG_LEVEL = 'debug'
|
LOG_LEVEL = 'debug'
|
||||||
LOG_FILE = '/var/log/py-i2phosts/web.log'
|
LOG_FILE = '/var/log/py-i2phosts/web.log'
|
||||||
|
|
||||||
|
|
||||||
|
# include local settings
|
||||||
|
try:
|
||||||
|
from local_settings import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user