No Description
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.

urls.py 447B

1234567891011
  1. from django.conf.urls.defaults import *
  2. #/store/
  3. urlpatterns = patterns('',
  4. (r'^$', 'buyable.views.showItems'),
  5. url(r'^show/(\d+)/$', 'buyable.views.showItem', name='buyable_show'),
  6. url(r'^buy/(\d+)/$', 'buyable.views.buyItem', name='buyable_buy'),
  7. url(r'^buy/(\d+)/(with/deposit|only/deposit)/$', 'buyable.views.buyItem', name='buyable_buy'),
  8. (r'^bought/(\d+)/?$', 'buyable.views.boughtItem'),
  9. (r'^history/?$', 'buyable.views.history'),
  10. )