bia-fitness/lifting/urls.py
2015-04-10 14:19:12 -04:00

15 lines
486 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'^edit/$', views.edit_profile, name='edit-profile'),
]