STATIC_ROOT setting
Closed this issue · 2 comments
kunanit commented
When running with local settings, if there is no STATIC_ROOT setting in settings/secure.py,
throws an error before setting the default value for STATIC_ROOT defined in
kunanit commented
Maybe something like STATIC_ROOT = getattr(secure,'STATIC_ROOT',normpath(join(SITE_ROOT, 'http_static')))
would work in base.py
? Edit: actually, it makes more sense to me to set defaults in local.py
kunanit commented
Similar situation with some other settings, like ALLOWED_HOSTS and DATABASES. For now we can just assume that some placeholder values are set in a secure.py file even though they might be ignored when running with local settings. I might also refactor the settings a bit later.