Q. Which of the following is a valid way to define a URL pattern?
β
Correct Answer: (B)
path('home/', views.home)
Explanation: path is the standard way to define URL patterns in Django 2.0+.