from django.urls import path from . import views app_name = "films" urlpatterns = [ path('', views.film_list, name='home'), path('countries/', views.country_list, name='country_list'), path('countries//', views.country_detail, name='country_detail'), path('countries/create/', views.country_create, name='country_create'), path('countries//update/', views.country_update, name='country_update'), path('countries//delete/', views.country_delete, name='country_delete'), path('countries/autocomplete/', views.CountryAutocomplete.as_view(), name='country_autocomplete'), path('genres/', views.genre_list, name='genre_list'), path('genres//', views.genre_detail, name='genre_detail'), path('genres/create/', views.genre_create, name='genre_create'), path('genres//update/', views.genre_update, name='genre_update'), path('genres//delete/', views.genre_delete, name='genre_delete'), path('films/', views.film_list, name='film_list'), path('films//', views.film_detail, name='film_detail'), path('films/create/', views.film_create, name='film_create'), path('films//update/', views.film_update, name='film_update'), path('film//delete/', views.film_delete, name='film_delete'), path('people/', views.person_list, name='person_list'), path('people//', views.person_detail, name='person_detail'), path('people/create/', views.person_create, name='person_create'), path('people//update/', views.person_update, name='person_update'), path('people//delete/', views.person_delete, name='person_delete'), path('people/autocomplete/', views.PersonAutocomplete.as_view(), name='person_autocomplete'), ]