aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/server/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/keystone/server/wsgi.py')
-rw-r--r--keystone-moon/keystone/server/wsgi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/keystone-moon/keystone/server/wsgi.py b/keystone-moon/keystone/server/wsgi.py
index 863f13bc..dbdad326 100644
--- a/keystone-moon/keystone/server/wsgi.py
+++ b/keystone-moon/keystone/server/wsgi.py
@@ -50,3 +50,11 @@ def initialize_application(name):
_unused, application = common.setup_backends(
startup_application_fn=loadapp)
return application
+
+
+def initialize_admin_application():
+ return initialize_application('admin')
+
+
+def initialize_public_application():
+ return initialize_application('main')