From 58c9e4b5d00b57ae70ead4dc0cb06b3073e041fe Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" <antoine.romain.dumont@gmail.com> Date: Wed, 18 Oct 2017 14:52:44 +0200 Subject: [PATCH] Fix sphinx build: Set django settings to swh.deposit's Build prior to swh.web module. It's a workaround the time to find a more sustainable solution. Related T763 --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b0869656..c32249e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,8 @@ - import django import os -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "swh.web.settings.development") + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', + 'swh.deposit.settings.development') django.setup() from swh.docs.sphinx.conf import * # NoQA -- GitLab