from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('upload/', views.upload_model, name='upload'), path('success/', views.success, name='success'), path('', views.index, name='index'), ]