configure django settings when building docs
This commit is contained in:
parent
cb8ebbdfb7
commit
9642883190
|
@ -22,8 +22,11 @@ cwd = os.getcwd()
|
|||
parent = os.path.dirname(cwd)
|
||||
sys.path.append(parent)
|
||||
|
||||
import django_cryptolock
|
||||
from django.conf import settings
|
||||
|
||||
settings.configure()
|
||||
|
||||
import django_cryptolock
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue