k4ever/k4ever/buyable/urls.py

19 lines
735 B
Python
Raw Normal View History

2012-01-21 00:21:29 +01:00
# This file is part of k4ever, a point-of-sale system
# Contact............ <k4ever@lists.someserver.de>
# Website............ http://k4ever.someserver.de/
# Bug tracker........ http://k4ever.someserver.de/report
#
# Licensed under GNU Affero General Public License v3 or later
2010-10-16 17:33:18 +02:00
from django.conf.urls.defaults import *
2010-10-19 01:03:38 +02:00
#/store/
2010-10-16 17:33:18 +02:00
urlpatterns = patterns('',
(r'^$', 'buyable.views.showItems'),
url(r'^show/(\d+)/$', 'buyable.views.showItem', name='buyable_show'),
url(r'^buy/(\d+)/$', 'buyable.views.buyItem', name='buyable_buy'),
url(r'^buy/(\d+)/(with/deposit|only/deposit)/$', 'buyable.views.buyItem', name='buyable_buy'),
2010-12-02 02:39:15 +01:00
(r'^bought/(\d+)/?$', 'buyable.views.boughtItem'),
2010-12-02 13:44:10 +01:00
(r'^history/?$', 'buyable.views.history'),
2010-10-19 01:03:38 +02:00
)