equal
deleted
inserted
replaced
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 |