Skip to content
Snippets Groups Projects
Commit e98950fc authored by David Douard's avatar David Douard
Browse files

Ugly hackish fix to try to make autodoc happy with django

parent 1ffdf60f
No related branches found
No related tags found
No related merge requests found
#from swh.web.settings.development import * # noqa
from swh.deposit.settings.development import * # noqa
import swh.web.settings.development as web
# merge some config variables
ns = globals()
for var in dir(web):
if var.isupper() and var in ns and isinstance(ns[var], list):
for elt in getattr(web, var):
if elt not in ns[var]:
ns[var].append(elt)
SECRET_KEY = 'change me'
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