A

Admin • 828.03K Points
Coach

Q. What is the correct way to define a many-to-many field in Django?

  • (A) models.ManyToManyField()
  • (B) models.ManyField()
  • (C) models.RelatedField(many=True)
  • (D) models.MultiLink()
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`ManyToManyField` is used to create many-to-many relationships.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.