Skip to content

Commit

Permalink
updating url to the generic key method
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmalloc committed Jan 16, 2014
1 parent 91b81fc commit b944341
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/configs/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
url(r'^(?P<pk>[0-9]+)/show/$', 'show'),
url(r'^(?P<pk>[0-9]+)/edit/$', 'edit'),
url(r'^(?P<pk>[0-9]+)/logs/$', 'show_logs'),

#url(r'^(?P<pk>[0-9]+)/delete/$', 'delete'),

url(r'^(?P<pk>[0-9]+)/keys/ipn/new/$', 'new_ipn_key'),
url(r'^(?P<pk>[0-9]+)/keys/requests/new/$', 'new_requests_key'),
url(r'^(?P<pk>[0-9]+)/keys/api/new/$', 'new_api_key'),
url(r'^(?P<pk>[0-9]+)/keys/(?P<key_type>(ipn|requests|api))/new/$', 'new_ipn_key'),

)

0 comments on commit b944341

Please sign in to comment.