How can you describe the people-passport relationship in Django models? A person can only have one passport at a time, and one passport can only belong to one person. Below are some options on how you can create a passport field for the Person model:
Relationship fields
People and passports
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.