Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Change URLs for calendar

Roland Geiderae82c1870b5d
diff --git a/wger/manager/urls.py b/wger/manager/urls.py
index b074a1d4d..bdc5dc594 100644
--- a/wger/manager/urls.py
+++ b/wger/manager/urls.py
@@ -71,10 +71,10 @@ patterns_workout = patterns('',
url(r'^calendar$',
log.calendar,
name='calendar'),
- url(r'^calendar/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<year>\d{4})-(?P<month>\d{1,2})$',
+ url(r'^calendar/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<year>\d{4})/(?P<month>\d{1,2})$',
log.calendar,
name='calendar'),
- url(r'^calendar/(?P<year>\d{4})-(?P<month>\d{1,2})$',
+ url(r'^calendar/(?P<year>\d{4})/(?P<month>\d{1,2})$',
log.calendar,
name='calendar'),
url(r'^(?P<pk>\d+)/ical/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',