Code

Opened 9 years ago

Closed 9 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: UI/UX:

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.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to invalid
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.