2015-04-06 15:43:36 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
|
|
|
from lifting import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
2015-04-06 17:51:33 +00:00
|
|
|
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'),
|
2015-04-07 22:07:52 +00:00
|
|
|
url(r'^lifts/$', views.lift_list, name='lift-list'),
|
2015-04-07 21:40:30 +00:00
|
|
|
url(r'^lifts/(?P<lift_id>\d+)/$', views.by_lift, name='lift-detail'),
|
2015-04-06 15:43:36 +00:00
|
|
|
|
2015-04-10 21:31:12 +00:00
|
|
|
url(r'^options/$', views.edit_options, name='edit-options'),
|
2015-04-06 15:43:36 +00:00
|
|
|
]
|