From 701a18199fd230f70793b2e2c23b84506b50014e Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Fri, 20 Oct 2017 10:21:50 -0400 Subject: [PATCH] Change reports URLs to extend from /children/. --- reports/urls.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reports/urls.py b/reports/urls.py index 4c5a774b..69d96e18 100644 --- a/reports/urls.py +++ b/reports/urls.py @@ -6,21 +6,21 @@ from django.conf.urls import url from . import views urlpatterns = [ - url(r'^reports/changes/lifetimes/(?P[^/.]+)/$', + url(r'^children/(?P[^/.]+)/reports/changes/lifetimes/$', views.DiaperChangeLifetimesChildReport.as_view(), name='report-diaperchange-lifetimes-child'), - url(r'^reports/changes/types/(?P[^/.]+)/$', + url(r'^children/(?P[^/.]+)/reports/changes/types/$', views.DiaperChangeTypesChildReport.as_view(), name='report-diaperchange-types-child'), - url(r'^reports/sleep/pattern/(?P[^/.]+)$', + url(r'^children/(?P[^/.]+)/reports/sleep/pattern/$', views.SleepPatternChildReport.as_view(), name='report-sleep-pattern-child'), - url(r'^reports/sleep/totals/(?P[^/.]+)$', + url(r'^children/(?P[^/.]+)/reports/sleep/totals/$', views.SleepTotalsChildReport.as_view(), name='report-sleep-totals-child'), - url(r'^reports/timeline/(?P[^/.]+)$', + url(r'^children/(?P[^/.]+)/reports/timeline/$', views.TimelineChildReport.as_view(), name='report-timeline-child'), ]