mirror of https://github.com/snachodog/mybuddy.git
115 lines
3.6 KiB
Python
115 lines
3.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "reports"
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"children/<str:slug>/reports",
|
|
views.ChildReportList.as_view(),
|
|
name="report-list",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/bmi/bmi/",
|
|
views.BMIChangeChildReport.as_view(),
|
|
name="report-bmi-change-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/changes/amounts/",
|
|
views.DiaperChangeAmounts.as_view(),
|
|
name="report-diaperchange-amounts-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/changes/lifetimes/",
|
|
views.DiaperChangeLifetimesChildReport.as_view(),
|
|
name="report-diaperchange-lifetimes-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/changes/types/",
|
|
views.DiaperChangeTypesChildReport.as_view(),
|
|
name="report-diaperchange-types-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/changes/intervals/",
|
|
views.DiaperChangeIntervalsChildReport.as_view(),
|
|
name="report-diaperchange-intervals-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/feeding/amounts/",
|
|
views.FeedingAmountsChildReport.as_view(),
|
|
name="report-feeding-amounts-child",
|
|
),
|
|
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",
|
|
),
|
|
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",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/feeding/duration/",
|
|
views.FeedingDurationChildReport.as_view(),
|
|
name="report-feeding-duration-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/pumping/amounts/",
|
|
views.PumpingAmounts.as_view(),
|
|
name="report-pumping-amounts-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/feeding/intervals/",
|
|
views.FeedingIntervalsChildReport.as_view(),
|
|
name="report-feeding-intervals-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/sleep/pattern/",
|
|
views.SleepPatternChildReport.as_view(),
|
|
name="report-sleep-pattern-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/sleep/totals/",
|
|
views.SleepTotalsChildReport.as_view(),
|
|
name="report-sleep-totals-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/temperature/temperature/",
|
|
views.TemperatureChangeChildReport.as_view(),
|
|
name="report-temperature-change-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/tummy-time/duration/",
|
|
views.TummyTimeDurationChildReport.as_view(),
|
|
name="report-tummy-time-duration-child",
|
|
),
|
|
path(
|
|
"children/<str:slug>/reports/weight/weight/",
|
|
views.WeightChangeChildReport.as_view(),
|
|
name="report-weight-change-child",
|
|
),
|
|
path(
|
|
"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",
|
|
),
|
|
]
|