Browse Source

Fixed API urls, allowed to use bulkbuy without /

master
Sebastian Lohff 11 years ago
parent
commit
4e93c66b64
  1. 2
      k4ever/api2/urls.py

2
k4ever/api2/urls.py

@ -43,7 +43,7 @@ configRes = CsrfExemptResource(handler=ConfigHandler, **ad) @@ -43,7 +43,7 @@ configRes = CsrfExemptResource(handler=ConfigHandler, **ad)
urlpatterns = patterns('',
url(r'buyable/item/?$', buyableItemRes),
url(r'buyable/item/(?P<itemId>\d+)/?$', buyableItemRes),
url(r'buyable/item/bulkbuy/$', buyableItemRes, {'bulkBuy': True}),
url(r'buyable/item/bulkbuy/?$', buyableItemRes, {'bulkBuy': True}),
url(r'buyable/types/?$', buyableTypeRes),
url(r'buyable/history/?$', historyRes),

Loading…
Cancel
Save