yamatemat/matecnt/urls.py

15 lines
472 B
Python
Raw Normal View History

2015-01-02 23:49:55 +01:00
from django.conf.urls import patterns, include, url
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'matemat.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
2015-01-03 00:24:57 +01:00
#(r'.*$', 'matecnt.views.overview'),
2015-01-03 02:49:29 +01:00
(r'index$', 'matecnt.views.index'),
(r'user/(?P<code>\d+)$', 'matecnt.views.user'),
2015-01-03 00:24:57 +01:00
(r'drinks/.*$', 'matecnt.views.drinks'),
2015-01-03 02:49:29 +01:00
(r'drink/(?P<code>\d+)$', 'matecnt.views.drink'),
(r'checkout', 'matecnt.views.checkout')
2015-01-02 23:49:55 +01:00
)