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/

Related questions

0 votes
asked Jun 25, 2022 in Django by sharadyadav1986
0 votes
0 votes
asked Jun 26, 2022 in Django by john ganales
...