yamatemat/matecnt/urls.py

15 lines
472 B
Python

from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'matemat.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
#(r'.*$', 'matecnt.views.overview'),
(r'index$', 'matecnt.views.index'),
(r'user/(?P<code>\d+)$', 'matecnt.views.user'),
(r'drinks/.*$', 'matecnt.views.drinks'),
(r'drink/(?P<code>\d+)$', 'matecnt.views.drink'),
(r'checkout', 'matecnt.views.checkout')
)