πŸ“Š Django
Q. Which of the following defines a one-to-many relationship?
  • (A) OneToOneField
  • (B) ForeignKey
  • (C) ManyToManyField
  • (D) ManyToOneField
πŸ’¬ Discuss
βœ… Correct Answer: (B) ForeignKey

Explanation: ForeignKey is used to define one-to-many relationships in Django.

Explanation by: Mr. Dubey
ForeignKey is used to define one-to-many relationships in Django.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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