app/main.py
changeset 2333 221482a54238
parent 2066 1855c783934f
child 2336 58d2310330d3
--- a/app/main.py	Fri May 22 09:40:53 2009 +0200
+++ b/app/main.py	Sun May 24 21:40:37 2009 +0200
@@ -126,6 +126,12 @@
   # Create a Django application for WSGI.
   application = django.core.handlers.wsgi.WSGIHandler()
 
+  from soc.modules import callback
+  from soc.modules import core
+
+  callback.registerCore(core.Core())
+  callback.getCore().registerModuleCallbacks()
+
   # Run the WSGI CGI handler with that application.
   util.run_wsgi_app(application)