πŸ“Š Django
Q. What is the correct way to define a URL namespace in Django?
  • (A) app_url
  • (B) namespace()
  • (C) path(namespace=...)
  • (D) app_name = 'your_app'
πŸ’¬ Discuss
βœ… Correct Answer: (D) app_name = 'your_app'

Explanation: `app_name` is used to set the namespace for URL patterns.

Explanation by: Mr. Dubey
`app_name` is used to set the namespace for URL patterns.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate