# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.conf.urls import url
import millionmilestogether.views.children as views


urlpatterns = [
    url(r'^register/$', views.child_register, name="mmt-children-register"),
    url(r'^(?P<child_id>\d+)/unregister/$',
        views.child_unregister,
        name="mmt-children-unregister"),
    url(r'^(?P<child_id>\d+)/delegate/(?P<friend_id>\d+)/$',
        views.child_delegate,
        name="mmt-children-delegate"),
    url(r'^(?P<child_id>\d+)/$',
        views.child_detail, name="mmt-children-detail"),
]
