mybuddy/core/urls.py

16 lines
455 B
Python
Raw Normal View History

2017-08-15 19:14:03 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf.urls import url
from . import views
urlpatterns = [
2017-08-15 20:24:55 +00:00
url(r'^$', views.Index.as_view(), name='index'),
2017-08-16 12:49:58 +00:00
url(r'child/add/$', views.ChildAdd.as_view(), name='child-add'),
url(r'child/(?P<pk>[0-9]+)/$', views.ChildUpdate.as_view(),
name='child-update'),
url(r'child/(?P<pk>[0-9]+)/delete/$', views.ChildDelete.as_view(),
name='child-delete'),
2017-08-15 19:14:03 +00:00
]