Revision d194e869 snf-cyclades-app/synnefo/ui/userdata/urls.py

b/snf-cyclades-app/synnefo/ui/userdata/urls.py
36 36
from synnefo.ui.userdata import views
37 37

  
38 38
urlpatterns = patterns('',
39
    url(r'^keys$', views.PublicKeyPairCollectionView.as_view('keys_resource'),
40
        name='keys_collection'),
39
    url(r'^keys$', views.PublicKeyPairCollectionView.as_view('ui_keys_resource'),
40
        name='ui_keys_collection'),
41 41
    url(r'^keys/(?P<id>\d+)',
42
    views.PublicKeyPairResourceView.as_view('keys_resource'),
43
        name="keys_resource"),
44
    url(r'keys/generate', views.generate_key_pair, name="generate_public_key"),
45
    url(r'keys/download', views.download_private_key, name="download_public_key")
42
    views.PublicKeyPairResourceView.as_view('ui_keys_resource'),
43
        name="ui_keys_resource"),
44
    url(r'keys/generate', views.generate_key_pair, name="ui_generate_public_key"),
45
    url(r'keys/download', views.download_private_key, name="ui_download_public_key")
46 46
)

Also available in: Unified diff