A

Admin • 833.24K Points
Coach

Q. What does the `@receiver` decorator do in Django?

  • (A) Sends email
  • (B) Receives user input
  • (C) Registers a signal handler
  • (D) Validates the view
  • Correct Answer - Option(C)
  • Views: 31
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

`@receiver` is used to register a function as a signal handler.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.