mirror of
https://github.com/status-im/cabot.git
synced 2025-02-24 18:38:07 +00:00
Post Django 1.6, one needs to initialize the WSGI app using `get_wsgi_application`. Otherwise, `AppRegistryNotReady` gets thrown.
7 lines
165 B
Python
7 lines
165 B
Python
import os
|
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'cabot.settings')
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
application = get_wsgi_application()
|