Q. Which of these is a valid model relationship field in Django?

  • (A) ConnectField
  • (B) ForeignKey
  • (C) JoinField
  • (D) RelationalField
πŸ’¬ Discuss
βœ… Correct Answer: (B) ForeignKey
Explanation: `ForeignKey` is used to create many-to-one relationships in Django models.
Explanation by: Mr. Dubey
`ForeignKey` is used to create many-to-one relationships in Django models.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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