Q. What is the recommended way to define URL paths in Django 2+?

  • (A) url()
  • (B) path()
  • (C) routes()
  • (D) define()
πŸ’¬ Discuss
βœ… Correct Answer: (B) path()
Explanation: `path()` is the recommended method for URL routing in Django 2.0 and above.
Explanation by: Mr. Dubey
`path()` is the recommended method for URL routing in Django 2.0 and above.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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