Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
12 righe
447 B
12 righe
447 B
from django.conf.urls.defaults import *
|
|
|
|
#/store/
|
|
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'),
|
|
(r'^bought/(\d+)/?$', 'buyable.views.boughtItem'),
|
|
(r'^history/?$', 'buyable.views.history'),
|
|
)
|