A

Admin • 828.03K Points
Coach

Q. What is the purpose of `@receiver` decorator in Django?

  • (A) To receive messages from views
  • (B) To register signal handlers
  • (C) To control views
  • (D) To connect to external services
  • Correct Answer - Option(B)
  • Views: 7
  • 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.