Opened 6 years ago

Closed 6 years ago

Last modified 6 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 6 years ago by Gabriel Hurley

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

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

comment:2 Changed 6 years ago by Carl Meyer

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

comment:3 Changed 6 years ago by Carl Meyer

Resolution: fixed
Status: newclosed

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

comment:4 Changed 6 years ago by Carl Meyer

(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