πŸ“Š Django
Q. What does the `reverse()` function in Django do?
  • (A) Reverse a string
  • (B) Reverse a queryset
  • (C) Return a URL path by its view name
  • (D) Reverse the order of a list
πŸ’¬ Discuss
βœ… Correct Answer: (C) Return a URL path by its view name

Explanation: `reverse()` returns the URL of a view by using its name.

Explanation by: Mr. Dubey
`reverse()` returns the URL of a view by using its name.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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