Opened 19 years ago
Closed 19 years ago
#795 closed defect (invalid)
Documentation mismatch regarding "Many-to-one relationships that can be null"
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | *.djangoproject.com | Version: | |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://www.djangoproject.com/documentation/models/many_to_one_null/ say
"To define a many-to-one relationship that can have a null foreign key, use ForeignKey() with null=True "
However, http://www.djangoproject.com/documentation/model_api/ says that this is blank=True that should be used.
Note:
See TracTickets
for help on using tickets.
I can't find the part of docs/model_api that you're talking about.