mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
call django.setup before syncdb for django 1.7 compatibility
This commit is contained in:
parent
b157c474fe
commit
ea982bf73e
2
INSTALL
2
INSTALL
@ -4,7 +4,7 @@
|
||||
|
||||
On a Debian based system, run:
|
||||
|
||||
$ sudo apt-get install libjs-jquery libjs-modernizer \
|
||||
$ sudo apt-get install libjs-jquery libjs-modernizr \
|
||||
libjs-twitter-bootstrap make pandoc python3 python3-cherrypy3 \
|
||||
python3-django python3-bootstrapform
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user