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 in Django by sharadyadav1986
0 votes
asked Jun 22 in Django by SakshiSharma
0 votes
asked Jun 29 in Django by sharadyadav1986
...