mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
call django.setup before syncdb for django 1.7 compatibility
This commit is contained in:
1 parent
b157c474fe
commit
ea982bf73e
3 files changed
+3
-2
No files matched your search
@@ -195,6 +195,7 @@ def configure_django():
|
||||
STATIC_URL='/'.join([cfg.server_dir, 'static/']).replace('//', '/'),
|
||||
TEMPLATE_CONTEXT_PROCESSORS=context_processors,
|
||||
TEMPLATE_DIRS=template_directories)
|
||||
django.setup()
|
||||
|
||||
LOGGER.info('Configured Django')
|
||||
LOGGER.info('Template directories - %s', template_directories)
|
||||
|
||||
Reference in new issue
Block a user