A

Admin • 833.24K Points
Coach

Q. Which function is used to define URL patterns in Django?

  • (A) path()
  • (B) urlpattern()
  • (C) route()
  • (D) set_url()
  • Correct Answer - Option(A)
  • Views: 35
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

path() is used to define URLs in the urls.py file.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.