Merge pull request #2305 from cpennington/remove-obsolete-studio-code
Remove obselete cms startup code
This commit is contained in:
@@ -9,17 +9,8 @@ settings.INSTALLED_APPS # pylint: disable=W0104
|
||||
from django_startup import autostartup
|
||||
|
||||
|
||||
# TODO: Remove this code once Studio/CMS runs via wsgi in all environments
|
||||
INITIALIZED = False
|
||||
|
||||
|
||||
def run():
|
||||
"""
|
||||
Executed during django startup
|
||||
"""
|
||||
global INITIALIZED
|
||||
if INITIALIZED:
|
||||
return
|
||||
|
||||
INITIALIZED = True
|
||||
autostartup()
|
||||
|
||||
Reference in New Issue
Block a user