mybuddy/reports/urls.py

27 lines
935 B
Python
Raw Normal View History

2017-08-21 23:21:08 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^children/(?P<slug>[^/.]+)/reports/changes/lifetimes/$',
2017-09-25 17:14:14 +00:00
views.DiaperChangeLifetimesChildReport.as_view(),
name='report-diaperchange-lifetimes-child'),
url(r'^children/(?P<slug>[^/.]+)/reports/changes/types/$',
2017-09-13 15:25:12 +00:00
views.DiaperChangeTypesChildReport.as_view(),
name='report-diaperchange-types-child'),
2017-09-13 15:53:32 +00:00
url(r'^children/(?P<slug>[^/.]+)/reports/sleep/pattern/$',
2017-09-13 15:25:12 +00:00
views.SleepPatternChildReport.as_view(),
name='report-sleep-pattern-child'),
url(r'^children/(?P<slug>[^/.]+)/reports/sleep/totals/$',
2017-09-13 15:53:32 +00:00
views.SleepTotalsChildReport.as_view(),
name='report-sleep-totals-child'),
2017-09-15 12:11:41 +00:00
url(r'^children/(?P<slug>[^/.]+)/reports/timeline/$',
2017-09-15 12:11:41 +00:00
views.TimelineChildReport.as_view(),
name='report-timeline-child'),
2017-08-21 23:21:08 +00:00
]