mybuddy/reports/urls.py

14 lines
364 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'^reports/(?P<slug>[^/.]+)/changes/$',
views.DiaperChangeReport.as_view(), name='report-diaperchange'),
2017-08-21 23:21:08 +00:00
url(r'^reports/(?P<slug>[^/.]+)/sleep/$',
views.SleepReport.as_view(), name='report-sleep'),
]