MCQs > IT & Programming > Django > How do you create a recursive relationship in a model class named 'Company' in Django?

Django MCQs

How do you create a recursive relationship in a model class named 'Company' in Django?

Answer

Correct Answer: models.ForeignKey('self')

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Django Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it