Code

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#9255 closed (fixed)

Documentation on queryset __exact=Null vs __isnull=True is contradictory.

Reported by: jcd Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: queryset exact isnull
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

The documentation for queryset field lookups in 1.0 (http://docs.djangoproject.com/en/dev//ref/models/querysets/#id7) is self-contradictory. Under EXACT, it says that the semantics of idexact=Null has been changed in 1.0 to mimic the behavior of idisnull=True. Under ISNULL, it says that idexact=Null never returns anything (the old behavior).

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by ubernostrum

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

(In [9105]) Fixed #9255: Removed now-obsolete warning about the old semantics of exact=None vs. isnull=True

comment:2 Changed 6 years ago by ubernostrum

(In [9106]) [1.0.X] Apply doc fix from [9105]; refs #9255.

comment:3 Changed 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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.