Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14599 closed (fixed)

delete() is not documented on 'QuerySet API reference' page

Reported by: abeld Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

According to http://docs.djangoproject.com/en/dev/topics/db/queries/
'Every QuerySet has a delete() method, which deletes all members of that QuerySet.'

but that method is not mentioned on http://docs.djangoproject.com/en/dev/ref/models/querysets/
(in fact, the word 'delete' does not appear on that page at all)

Change History (4)

comment:1 Changed 5 years ago by gabrielhurley

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

yep, that probably ought to be documented under "QuerySet methods that do not return QuerySets".

comment:2 Changed 5 years ago by carljm

This is fixed in the patch for #7539, which I'm planning to land for 1.3.

comment:3 Changed 5 years ago by carljm

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

(In [14505]) Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet API reference. Thanks to abeld for the report.

comment:4 Changed 5 years ago by carljm

(In [14506]) Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet API reference. Thanks to abeld for the report. Backport of r14505 from trunk.

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