A

Admin • 833.24K Points
Coach

Q. Which file is used to route URLs to views in a Django project?

  • (A) models.py
  • (B) views.py
  • (C) urls.py
  • (D) routes.py
  • Correct Answer - Option(C)
  • Views: 34
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

`urls.py` is used to define URL patterns and map them to views in Django.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.