πŸ“Š Django
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()
πŸ’¬ Discuss
βœ… Correct Answer: (A) models.ManyToManyField()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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