Revision 11bb4341 snf-cyclades-app/synnefo/app_settings/urls.py

b/snf-cyclades-app/synnefo/app_settings/urls.py
32 32
# or implied, of GRNET S.A.
33 33

  
34 34
from django.conf.urls.defaults import *
35
from django.conf import settings
35 36

  
36 37
urlpatterns = patterns('',
37 38
    (r'^ui/', include('synnefo.ui.urls')),
......
45 46
    (r'^helpdesk/', include('synnefo.helpdesk.urls')),
46 47
)
47 48

  
49
PROXY_USER_SERVICES = getattr(settings, 'CYCLADES_PROXY_USER_SERVICES', True)
50
if PROXY_USER_SERVICES:
51
    urlpatterns += patterns(
52
        '',
53
        (r'^feedback/?$', 'synnefo.api.delegate.delegate_to_feedback_service'),
54
        (r'^user_catalogs/?$', 'synnefo.api.delegate.delegate_to_user_catalogs_service'))
55

  

Also available in: Unified diff