bia-fitness/lifting/urls.py
2015-04-10 17:31:12 -04:00

15 lines
489 B
Python

from django.conf.urls import url
from lifting import views
urlpatterns = [
url(r'^(?P<year>\d{4})/(?P<month>\d{1,2})/$', views.month_lifts,
name='lifting-month'),
url(r'^(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/$', views.day_lifts,
name='lifting-day'),
url(r'^lifts/$', views.lift_list, name='lift-list'),
url(r'^lifts/(?P<lift_id>\d+)/$', views.by_lift, name='lift-detail'),
url(r'^options/$', views.edit_options, name='edit-options'),
]