~sil/+junk/ucs-server

« back to all changes in this revision

Viewing changes to ucs_server/components/urls.py

  • Committer: Stuart Langridge
  • Date: 2014-11-14 16:28:52 UTC
  • Revision ID: sil-launchpad@kryogenix.org-20141114162852-ulghys91c4wn9eon
return component name from api

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
urlpatterns = patterns('',
6
6
    url(r'^$', views.index, name='index'),
7
7
    url(r'^api/add$', views.add, name='add'),
 
8
    url(r'^api/get/(?P<name>.+/.+)$', views.get, name='get'),
8
9
)
 
 
b'\\ No newline at end of file'