Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#34749 closed Bug (fixed)

acreate function signature in docs is incorrect

Reported by: john-parton Owned by: john-parton
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

https://docs.djangoproject.com/en/dev/ref/models/querysets/#create

Function signature for acreate has *args, which the underlying function doesn't accept. create also doesn't ordinarily accept args.

Fix here: https://github.com/django/django/pull/17123

Change History (4)

comment:1 by Mariusz Felisiak, 10 months ago

Triage Stage: UnreviewedAccepted

comment:2 by Mariusz Felisiak, 10 months ago

Triage Stage: AcceptedReady for checkin

Thanks for the report.

For the future, a ticket is not required for such small cleanups.

comment:3 by GitHub <noreply@…>, 10 months ago

Resolution: fixed
Status: assignedclosed

In af0c5ca:

Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 10 months ago

In a52a2b66:

[4.2.x] Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.

Backport of af0c5caff72e5ffda4dff708a57e37ae4778197d from main

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