Revision c204fcff snf-cyclades-app/synnefo/app_settings/urls.py
b/snf-cyclades-app/synnefo/app_settings/urls.py | ||
---|---|---|
40 | 40 |
from snf_django.lib.api.urls import api_patterns |
41 | 41 |
from synnefo.cyclades_settings import ( |
42 | 42 |
BASE_PATH, COMPUTE_PREFIX, NETWORK_PREFIX, VMAPI_PREFIX, |
43 |
PLANKTON_PREFIX, HELPDESK_PREFIX, UI_PREFIX, |
|
43 |
PLANKTON_PREFIX, HELPDESK_PREFIX, ADMIN_INTERFACE_PREFIX, UI_PREFIX,
|
|
44 | 44 |
USERDATA_PREFIX, ADMIN_PREFIX, |
45 | 45 |
ASTAKOS_AUTH_PROXY_PATH, ASTAKOS_AUTH_URL, |
46 | 46 |
ASTAKOS_ACCOUNT_PROXY_PATH, ASTAKOS_ACCOUNT_URL, |
... | ... | |
55 | 55 |
# Redirects should be first, otherwise they may get overridden by wildcards |
56 | 56 |
extend_endpoint_with_slash(urlpatterns, cyclades_services, 'cyclades_ui') |
57 | 57 |
extend_endpoint_with_slash(urlpatterns, cyclades_services, 'cyclades_helpdesk') |
58 |
extend_endpoint_with_slash(urlpatterns, cyclades_services, 'cyclades_admin_interface') |
|
58 | 59 |
extend_endpoint_with_slash(urlpatterns, cyclades_services, 'admin') |
59 | 60 |
extend_endpoint_with_slash(urlpatterns, cyclades_services, 'cyclades_userdata') |
60 | 61 |
|
... | ... | |
78 | 79 |
(prefix_pattern(HELPDESK_PREFIX), include('synnefo.helpdesk.urls')), |
79 | 80 |
) |
80 | 81 |
|
82 |
cyclades_patterns += api_patterns( |
|
83 |
'', |
|
84 |
(prefix_pattern(ADMIN_INTERFACE_PREFIX), include('synnefo.admin-interface.urls')), |
|
85 |
) |
|
86 |
|
|
81 | 87 |
urlpatterns += patterns( |
82 | 88 |
'', |
83 | 89 |
(prefix_pattern(BASE_PATH), include(cyclades_patterns)), |
Also available in: Unified diff