from django.urls import path from . import views app_name = 'port' urlpatterns = [ path('', views.index, name='index'), path('', views.ports_status, name='list'), path('new', views.add_person, name='add'), path('list', views.list_persons, name='list'), ]