from django.urls import path


from .views import index, list_phones, create_person

urlpatterns = [
    path("", index),
    path("create/", create_person, name="create person"),
    path("phones/", list_phones),
    # Show template without write a func in view.py (show html page without python logic)
    # path("phones2/", TemplateView.as_view(template_name="phones.html")),
]

b8c7bb8e179449c87ad63b7132c52b7fd017ba67
<mask token>

<mask token>
urlpatterns = [path('', index), path('create/', create_person, name=
    'create person'), path('phones/', list_phones)]

from django.urls import path
from .views import index, list_phones, create_person
urlpatterns = [path('', index), path('create/', create_person, name=
    'create person'), path('phones/', list_phones)]

from django.urls import path


from .views import index, list_phones, create_person

urlpatterns = [
    path("", index),
    path("create/", create_person, name="create person"),
    path("phones/", list_phones),
    # Show template without write a func in view.py (show html page without python logic)
    # path("phones2/", TemplateView.as_view(template_name="phones.html")),
]
