You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
288 B
10 lines
288 B
13 years ago
|
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'),
|
||
|
)
|