Opened 16 years ago
Closed 15 years ago
#8767 closed (duplicate)
Should user profile docs mention OneToOne fields?
Reported by: | Manuel Saelices | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In auth docs, it was said that UserProfile
should be a ForeignKey
to User
model.
¿should mention one to one relationship?
Note:
See TracTickets
for help on using tickets.
The doc does say to specific unique=True to force a one-to-one relationship. I think this is the preferred way to do this?