from django.conf.urls import patterns, url

urlpatterns = patterns('goals.views',
    url(r'^users/me$', 'myself'),
    url(r'^categories$', 'category_list'),
    url(r'^wins$', 'win_list'),
    url(r'^wins/(?P<pk>[0-9]+)$', 'win_detail'),
    url(r'^wins/tag/$', 'win_tag'),
    url(r'^goals$', 'goal_list'),
    url(r'^goals/tag/$', 'goal_tag'),
    url(r'^goals/(?P<pk>[0-9]+)$', 'goal_detail'),
#    url(r'^wins/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'win_list'),
#    url(r'^wins/weekly$', 'win_list', kwargs={'weekly':True,}),
#    url(r'^wins/weekly/(?P<pk>[0-9]+)$', 'win_detail'),
#    url(r'^wins/weekly/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$','win_list', kwargs={'weekly':True,}),
#    url(r'^goals/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'goal_list'),
#    url(r'^goals(?:/(?P<weekly>\d+))?$', 'goal_list'),
#    url(r'^goals/weekly$', 'goal_list', kwargs={'weekly':True,}),
#    url(r'^goals/weekly/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$','goal_list', kwargs={'weekly':True,}),
#    url(r'^goals/weekly/(?P<pk>[0-9]+)$', 'goal_detail'),
)
