2017-08-21 23:21:08 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-12-13 23:12:32 +00:00
|
|
|
from django.urls import path
|
2017-08-21 23:21:08 +00:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2017-12-03 21:52:27 +00:00
|
|
|
app_name = 'reports'
|
|
|
|
|
2017-08-21 23:21:08 +00:00
|
|
|
urlpatterns = [
|
2017-12-13 23:12:32 +00:00
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/changes/lifetimes/',
|
2017-09-25 17:14:14 +00:00
|
|
|
views.DiaperChangeLifetimesChildReport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-diaperchange-lifetimes-child'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/changes/types/',
|
2017-09-13 15:25:12 +00:00
|
|
|
views.DiaperChangeTypesChildReport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-diaperchange-types-child'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/feeding/duration/',
|
2017-11-30 02:28:54 +00:00
|
|
|
views.FeedingDurationChildReport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-feeding-duration-child'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/sleep/pattern/',
|
2017-09-13 15:25:12 +00:00
|
|
|
views.SleepPatternChildReport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-sleep-pattern-child'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/sleep/totals/',
|
2017-09-13 15:53:32 +00:00
|
|
|
views.SleepTotalsChildReport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-sleep-totals-child'
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
'children/<slug:slug>/reports/weight/weight/',
|
2017-11-10 12:20:34 +00:00
|
|
|
views.WeightWeightChildReoport.as_view(),
|
2017-12-13 23:12:32 +00:00
|
|
|
name='report-weight-weight-child'
|
|
|
|
),
|
2017-08-21 23:21:08 +00:00
|
|
|
]
|