Commit c442637b authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Sensible root url redirects

parent ac75d99a
......@@ -36,6 +36,8 @@ from synnefo.lib import join_urls
from astakos.im.settings import (
BASE_PATH, ACCOUNTS_PREFIX, VIEWS_PREFIX, KEYSTONE_PREFIX)
from snf_django.lib.api.utils import prefix_pattern
from snf_django.utils.urls import extend_with_root_redirects
from astakos.im import settings
astakos_patterns = patterns(
'',
......@@ -49,3 +51,7 @@ urlpatterns = patterns(
'',
(prefix_pattern(BASE_PATH), include(astakos_patterns)),
)
# set utility redirects
extend_with_root_redirects(urlpatterns, settings.astakos_services,
'astakos_ui', BASE_PATH)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment