Q. Which file is used to define URL patterns in a Django project?

  • (A) urls.py
  • (B) routes.py
  • (C) navigation.py
  • (D) path.py
πŸ’¬ Discuss
βœ… Correct Answer: (A) urls.py
Explanation: In Django, URL patterns are defined in the urls.py file.
Explanation by: Mr. Dubey
In Django, URL patterns are defined in the urls.py file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
97
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate