app/main.py
changeset 2333 221482a54238
parent 2066 1855c783934f
child 2336 58d2310330d3
equal deleted inserted replaced
2332:2a6071255146 2333:221482a54238
   124     sys.path[:] = ultimate_sys_path
   124     sys.path[:] = ultimate_sys_path
   125 
   125 
   126   # Create a Django application for WSGI.
   126   # Create a Django application for WSGI.
   127   application = django.core.handlers.wsgi.WSGIHandler()
   127   application = django.core.handlers.wsgi.WSGIHandler()
   128 
   128 
       
   129   from soc.modules import callback
       
   130   from soc.modules import core
       
   131 
       
   132   callback.registerCore(core.Core())
       
   133   callback.getCore().registerModuleCallbacks()
       
   134 
   129   # Run the WSGI CGI handler with that application.
   135   # Run the WSGI CGI handler with that application.
   130   util.run_wsgi_app(application)
   136   util.run_wsgi_app(application)
   131 
   137 
   132 main = real_main
   138 main = real_main
   133 
   139