Fix doc build issue from early container load
This commit is contained in:
parent
70bceed8c1
commit
66e03d4a59
1 changed files with 5 additions and 3 deletions
|
|
@ -201,6 +201,8 @@ class GlobalScriptContainer(Container):
|
||||||
initialized.
|
initialized.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
if self.loaded_data:
|
||||||
|
# we don't always load this, it collides with doc generation
|
||||||
global _BASE_SCRIPT_TYPECLASS
|
global _BASE_SCRIPT_TYPECLASS
|
||||||
if not _BASE_SCRIPT_TYPECLASS:
|
if not _BASE_SCRIPT_TYPECLASS:
|
||||||
_BASE_SCRIPT_TYPECLASS = class_from_module(settings.BASE_SCRIPT_TYPECLASS)
|
_BASE_SCRIPT_TYPECLASS = class_from_module(settings.BASE_SCRIPT_TYPECLASS)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue