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
|
|
|
|
|
2022-02-10 00:00:30 +00:00
|
|
|
app_name = "reports"
|
2017-12-03 21:52:27 +00:00
|
|
|
|
2017-08-21 23:21:08 +00:00
|
|
|
urlpatterns = [
|
2022-02-26 21:23:43 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports",
|
|
|
|
views.ChildReportList.as_view(),
|
|
|
|
name="report-list",
|
|
|
|
),
|
2022-03-03 03:00:56 +00:00
|
|
|
path(
|
2022-05-26 04:27:21 +00:00
|
|
|
"children/<str:slug>/reports/bmi/bmi/",
|
|
|
|
views.BMIChangeChildReport.as_view(),
|
|
|
|
name="report-bmi-change-child",
|
2022-03-03 03:00:56 +00:00
|
|
|
),
|
2020-01-26 22:12:27 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/changes/amounts/",
|
2020-01-26 22:12:27 +00:00
|
|
|
views.DiaperChangeAmounts.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-diaperchange-amounts-child",
|
2020-01-26 22:12:27 +00:00
|
|
|
),
|
2017-12-13 23:12:32 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/changes/lifetimes/",
|
2017-09-25 17:14:14 +00:00
|
|
|
views.DiaperChangeLifetimesChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-diaperchange-lifetimes-child",
|
2017-12-13 23:12:32 +00:00
|
|
|
),
|
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/changes/types/",
|
2017-09-13 15:25:12 +00:00
|
|
|
views.DiaperChangeTypesChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-diaperchange-types-child",
|
2017-12-13 23:12:32 +00:00
|
|
|
),
|
2022-04-16 15:05:44 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/changes/intervals/",
|
|
|
|
views.DiaperChangeIntervalsChildReport.as_view(),
|
|
|
|
name="report-diaperchange-intervals-child",
|
|
|
|
),
|
2019-05-29 17:05:30 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/feeding/amounts/",
|
2019-05-29 17:05:30 +00:00
|
|
|
views.FeedingAmountsChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-feeding-amounts-child",
|
2019-05-29 17:05:30 +00:00
|
|
|
),
|
2022-05-26 04:27:21 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/head-circumference/head-circumference/",
|
|
|
|
views.HeadCircumferenceChangeChildReport.as_view(),
|
|
|
|
name="report-head-circumference-change-child",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/height/height/",
|
|
|
|
views.HeightChangeChildReport.as_view(),
|
|
|
|
name="report-height-change-child",
|
|
|
|
),
|
2023-12-19 17:36:07 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/height/boy/",
|
|
|
|
views.HeightChangeChildBoyReport.as_view(),
|
|
|
|
name="report-height-change-child-boy",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/height/girl/",
|
|
|
|
views.HeightChangeChildGirlReport.as_view(),
|
|
|
|
name="report-height-change-child-girl",
|
|
|
|
),
|
2017-12-13 23:12:32 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/feeding/duration/",
|
2017-11-30 02:28:54 +00:00
|
|
|
views.FeedingDurationChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-feeding-duration-child",
|
2017-12-13 23:12:32 +00:00
|
|
|
),
|
2022-05-26 04:27:21 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/pumping/amounts/",
|
|
|
|
views.PumpingAmounts.as_view(),
|
|
|
|
name="report-pumping-amounts-child",
|
|
|
|
),
|
2022-04-16 15:05:44 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/feeding/intervals/",
|
|
|
|
views.FeedingIntervalsChildReport.as_view(),
|
|
|
|
name="report-feeding-intervals-child",
|
|
|
|
),
|
2017-12-13 23:12:32 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/sleep/pattern/",
|
2017-09-13 15:25:12 +00:00
|
|
|
views.SleepPatternChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-sleep-pattern-child",
|
2017-12-13 23:12:32 +00:00
|
|
|
),
|
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/sleep/totals/",
|
2017-09-13 15:53:32 +00:00
|
|
|
views.SleepTotalsChildReport.as_view(),
|
2022-02-10 00:00:30 +00:00
|
|
|
name="report-sleep-totals-child",
|
2017-12-13 23:12:32 +00:00
|
|
|
),
|
2023-01-02 23:27:15 +00:00
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/temperature/temperature/",
|
|
|
|
views.TemperatureChangeChildReport.as_view(),
|
|
|
|
name="report-temperature-change-child",
|
|
|
|
),
|
2021-10-04 19:37:11 +00:00
|
|
|
path(
|
2022-05-26 04:27:21 +00:00
|
|
|
"children/<str:slug>/reports/tummy-time/duration/",
|
2021-10-04 19:37:11 +00:00
|
|
|
views.TummyTimeDurationChildReport.as_view(),
|
2022-05-26 04:27:21 +00:00
|
|
|
name="report-tummy-time-duration-child",
|
2021-10-04 19:37:11 +00:00
|
|
|
),
|
2017-12-13 23:12:32 +00:00
|
|
|
path(
|
2022-02-10 00:00:30 +00:00
|
|
|
"children/<str:slug>/reports/weight/weight/",
|
2022-05-26 04:27:21 +00:00
|
|
|
views.WeightChangeChildReport.as_view(),
|
|
|
|
name="report-weight-change-child",
|
2021-12-29 07:53:36 +00:00
|
|
|
),
|
2023-09-27 13:24:53 +00:00
|
|
|
path(
|
2023-12-02 05:55:38 +00:00
|
|
|
"children/<str:slug>/reports/weight/boy/",
|
|
|
|
views.WeightChangeChildBoyReport.as_view(),
|
|
|
|
name="report-weight-change-child-boy",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"children/<str:slug>/reports/weight/girl/",
|
|
|
|
views.WeightChangeChildGirlReport.as_view(),
|
|
|
|
name="report-weight-change-child-girl",
|
2023-09-27 13:24:53 +00:00
|
|
|
),
|
2017-08-21 23:21:08 +00:00
|
|
|
]
|