k4ever/k4ever/api/urls.py

10 lines
288 B
Python

from django.conf.urls.defaults import *
#/api/
urlpatterns = patterns('',
(r'^store/$', 'api.views.showItems'),
(r'^store/show/(\d+)/$', 'api.views.showItem'),
(r'^store/buy/(\d+)/(|with/deposit|only/deposit)/?$', 'api.views.buyItem'),
(r'^store/history/?$', 'api.views.history'),
)