dont fail if no site url is defined
This commit is contained in:
parent
da89475bad
commit
7a8cb97074
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def load_config():
|
|||
|
||||
if config:
|
||||
settings.SITENAME = config['site']['name']
|
||||
if getattr(settings, 'SITEURL'):
|
||||
if getattr(settings, 'SITEURL', False):
|
||||
config['site']['url'] = settings.SITEURL
|
||||
settings.URL = config['site']['url']
|
||||
settings.EMAIL_SUBJECT_PREFIX = '[%s]'%settings.SITENAME
|
||||
|
|
Loading…
Reference in a new issue