Skip to content
Snippets Groups Projects
Verified Commit 58c9e4b5 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

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
parent 69fcce55
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment