From 8c6777dabe7a57510441126008dd091e4dc1cc61 Mon Sep 17 00:00:00 2001 From: zuozongming <641380561@qq.com> Date: Sat, 28 Nov 2015 11:38:39 +0000 Subject: [PATCH] diff from models.py --- djangosphinx/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangosphinx/config.py b/djangosphinx/config.py index 4b8f69f..95075ed 100644 --- a/djangosphinx/config.py +++ b/djangosphinx/config.py @@ -32,7 +32,7 @@ def relative_path(*args): return os.path.abspath(os.path.join(settings.SPHINX_ROOT, *args)) context = { - 'SPHINX_HOST': getattr(settings, 'SPHINX_HOST', '127.0.0.1'), + 'SPHINX_SERVER': getattr(settings, 'SPHINX_HOST', '127.0.0.1'), 'SPHINX_PORT': getattr(settings, 'SPHINX_PORT', '3312'), 'relative_path': relative_path, }