Revision aca448cf

b/snf-cyclades-app/synnefo/app_settings/urls.py
35 35
from django.conf import settings
36 36
from snf_django.lib.api.proxy import proxy
37 37
from snf_django.lib.api.utils import prefix_pattern
38
from snf_django.utils.urls import extend_with_root_redirects
38 39
from synnefo.cyclades_settings import (
39 40
    BASE_URL, BASE_HOST, BASE_PATH, COMPUTE_PREFIX, VMAPI_PREFIX,
40 41
    PLANKTON_PREFIX, HELPDESK_PREFIX, UI_PREFIX, ASTAKOS_BASE_URL,
41 42
    USERDATA_PREFIX, ASTAKOS_BASE_PATH, BASE_ASTAKOS_PROXY_PATH,
42
    ASTAKOS_ACCOUNTS_PREFIX, ASTAKOS_VIEWS_PREFIX, PROXY_USER_SERVICES)
43
    ASTAKOS_ACCOUNTS_PREFIX, ASTAKOS_VIEWS_PREFIX, PROXY_USER_SERVICES,
44
    cyclades_services)
43 45

  
44 46
from urlparse import urlparse
45 47
from functools import partial
......
79 81
        '',
80 82
        (prefix_pattern(BASE_ASTAKOS_PROXY_PATH), include(proxy_patterns)),
81 83
    )
84

  
85
# set utility redirects
86
extend_with_root_redirects(urlpatterns, cyclades_services, 'cyclades_ui',
87
                           BASE_PATH)

Also available in: Unified diff