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: misc@… 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.

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: invalid
Status: newclosed

I can't find the part of docs/model_api that you're talking about.

Note: See TracTickets for help on using tickets.
Back to Top