S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which decorator is used to make a function-based view a class-based view?

  • (A) class_view
  • (B) make_view
  • (C) none of these
  • (D) There is no such decorator
  • Correct Answer - Option(D)
  • Views: 11
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
Function-based views and class-based views are defined separately; no decorator converts them.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.