18 lines
378 B
Python
18 lines
378 B
Python
|
import os
|
||
|
|
||
|
from django.conf import settings as django_settings
|
||
|
from django.core.wsgi import get_wsgi_application
|
||
|
from djangoldp.conf import ldpsettings
|
||
|
|
||
|
if not django_settings.configured:
|
||
|
ldpsettings.configure()
|
||
|
|
||
|
application = get_wsgi_application()
|
||
|
|
||
|
try:
|
||
|
from djangoldp.activities.services import ActivityQueueService
|
||
|
|
||
|
ActivityQueueService.start()
|
||
|
except:
|
||
|
pass
|