I\'m new to Django and am trying to create the back end code for a music application on my website.
I have created the correct view in my views.py file (in the corre
In django 2.0 version primary key write this way...
from django.urls import path from . import views urlpatterns = [ path('', views.course_list), path('/', views.course_detail), ]