app/main.py
changeset 2336 58d2310330d3
parent 2335 366e64ecba91
parent 2333 221482a54238
child 2357 f7b0c04e1e81
--- a/app/main.py	Sun May 24 22:29:54 2009 +0200
+++ b/app/main.py	Sun May 24 22:32:39 2009 +0200
@@ -87,6 +87,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)