X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fsettings.py;h=a9018f2d5f2c2dd62f2f20eecc865f34b6394487;hb=5976423e0a726cb636a67bd77d61c8f36b23e7ce;hp=10b39533ca812cd9e37444f0425208fa9ec1e0d3;hpb=45ea7c4ae1398b959f23b4a47d584aa1986604bc;p=unfold.git diff --git a/myslice/settings.py b/myslice/settings.py index 10b39533..a9018f2d 100644 --- a/myslice/settings.py +++ b/myslice/settings.py @@ -4,8 +4,8 @@ from __future__ import print_function import os.path -import djcelery -djcelery.setup_loader() +# import djcelery +# djcelery.setup_loader() ### detect if we're in a build environment try: @@ -44,7 +44,12 @@ try: theme = configEngine.myslice.theme except: pass - + +## +# components module +## +import components + # find out HTTPROOT, which is different from ROOT # when deployed from a package # this code is run by collectstatic too, so we cannot @@ -253,17 +258,17 @@ INSTALLED_APPS = [ # Uncomment the next line to enable the admin: 'django.contrib.admin', # FORGE Plugin app - 'djcelery', - 'forge', +# 'djcelery', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', 'portal', - # SLA - 'sla', ] # this app won't load in a build environment if not building: INSTALLED_APPS.append ('rest') +for component in components.list() : + INSTALLED_APPS.append(component) + BROKER_URL = "amqp://myslice:myslice@localhost:5672/myslice" for aux in auxiliaries: