[Django] #34749: acreate function signature in docs is incorrect

6 views
Skip to first unread message

Django

unread,
Jul 28, 2023, 11:35:20 AM7/28/23
to django-...@googlegroups.com
#34749: acreate function signature in docs is incorrect
-----------------------------------------+-----------------------------
Reporter: john-parton | Owner: john-parton
Type: Bug | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+-----------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/34749>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 28, 2023, 12:02:06 PM7/28/23
to django-...@googlegroups.com
#34749: acreate function signature in docs is incorrect
-------------------------------+---------------------------------------

Reporter: john-parton | Owner: john-parton
Type: Bug | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Mariusz Felisiak):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/34749#comment:1>

Django

unread,
Jul 28, 2023, 12:03:14 PM7/28/23
to django-...@googlegroups.com
#34749: acreate function signature in docs is incorrect
-------------------------------------+-------------------------------------
Reporter: john-parton | Owner: john-

| parton
Type: Bug | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


Comment:

Thanks for the report.

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

--
Ticket URL: <https://code.djangoproject.com/ticket/34749#comment:2>

Django

unread,
Jul 28, 2023, 12:05:29 PM7/28/23
to django-...@googlegroups.com
#34749: acreate function signature in docs is incorrect
-------------------------------------+-------------------------------------
Reporter: john-parton | Owner: john-
| parton
Type: Bug | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"af0c5caff72e5ffda4dff708a57e37ae4778197d" af0c5ca]:
{{{
#!CommitTicketReference repository=""
revision="af0c5caff72e5ffda4dff708a57e37ae4778197d"
Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34749#comment:3>

Django

unread,
Jul 28, 2023, 12:06:46 PM7/28/23
to django-...@googlegroups.com
#34749: acreate function signature in docs is incorrect
-------------------------------------+-------------------------------------
Reporter: john-parton | Owner: john-
| parton
Type: Bug | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"a52a2b6678ea2e35d86d97735d936e9b7bf73474" a52a2b66]:
{{{
#!CommitTicketReference repository=""
revision="a52a2b6678ea2e35d86d97735d936e9b7bf73474"
[4.2.x] Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.

Backport of af0c5caff72e5ffda4dff708a57e37ae4778197d from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34749#comment:4>

Reply all
Reply to author
Forward
0 new messages