from django.urls import path
from django.conf.urls import url
from . import views

app_name = 'phonebook'

urlpatterns = [
    path('', views.index, name='index'),
    path('new.html', views.new, name='new'),
    path('<int:pk>/', views.EditView.as_view(), name='edit'),
    url(r'^add/$', views.add, name='add'),
    url(r'^alter/$', views.alter, name='alter')
]
00771186e7606a5617ef94dbebb65a9f69059031
<mask token>

<mask token>
app_name = 'phonebook'
urlpatterns = [path('', views.index, name='index'), path('new.html', views.
    new, name='new'), path('<int:pk>/', views.EditView.as_view(), name=
    'edit'), url('^add/$', views.add, name='add'), url('^alter/$', views.
    alter, name='alter')]

from django.urls import path
from django.conf.urls import url
from . import views
app_name = 'phonebook'
urlpatterns = [path('', views.index, name='index'), path('new.html', views.
    new, name='new'), path('<int:pk>/', views.EditView.as_view(), name=
    'edit'), url('^add/$', views.add, name='add'), url('^alter/$', views.
    alter, name='alter')]

from django.urls import path
from django.conf.urls import url
from . import views

app_name = 'phonebook'

urlpatterns = [
    path('', views.index, name='index'),
    path('new.html', views.new, name='new'),
    path('<int:pk>/', views.EditView.as_view(), name='edit'),
    url(r'^add/$', views.add, name='add'),
    url(r'^alter/$', views.alter, name='alter')
]