0 votes
in Django by
Consider

urlpatterns = [

  path(‘/music/’, include(‘entertain.urls.music’)),

]

#in entertain/urls/music.py

urlpatterns = [

  path(”, views.music.index),

  path(‘history/’, views.music.history),

]

The views.music.history would correspond to the URL.

a) /2018/music/

b) /2018/music/history/

c) /music/2018

d) /music/history/2018

1 Answer

0 votes
by
b) /2018/music/history/
...