from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path( admin/ , admin.site.urls),
path("", views.home),
path("predict/", views.predict),
path("predict/result", views.result)
追溯
File "C:UsersuserPycharmProjectsDiabetes PredictionDiabetes_PredictionDiabetes_Predictionurls.py", line 19, in <module>
from . import views
ImportError: attempted relative import with no known parent package