[Django] #34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()

11 views
Skip to first unread message

Django

unread,
May 18, 2023, 9:15:28 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
---------------------------------------------+------------------------
Reporter: romanshrestha20 | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
I would like to report a typo in the Django documentation, specifically in
the "Writing your first Django app, part 5" tutorial.

In the section where the method assertQuerySetEqual() is mentioned, there
is a typo in the method name. The correct method name is
assertQuerysetEqual() (with a lowercase "s" in "Queryset"). However, in
the documentation, it is incorrectly written as "assertQuerySetEqual()"
(with an uppercase "S" in "QuerySet").

Page/Section: "Writing your first Django app, part 5"
URL: https://docs.djangoproject.com/en/4.2/intro/tutorial05/

Suggested Correction:
I suggest correcting the method name to assertQuerysetEqual() to match the
actual method name used in Django. This correction will ensure consistency
and prevent confusion among users when using the method.

Thank you for your attention to this matter. I hope this helps in
improving the accuracy and clarity of the Django documentation.

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

Django

unread,
May 18, 2023, 9:17:24 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-----------------------------------+--------------------------------------

Reporter: romanshrestha20 | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by romanshrestha20):

* Attachment "Screenshot (1).png" added.

Django

unread,
May 18, 2023, 9:17:35 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-----------------------------------+--------------------------------------
Reporter: romanshrestha20 | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by romanshrestha20):

* Attachment "Screenshot (2).png" added.

Django

unread,
May 18, 2023, 9:17:44 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-----------------------------------+--------------------------------------
Reporter: romanshrestha20 | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by romanshrestha20):

* Attachment "Screenshot (3).png" added.

Django

unread,
May 18, 2023, 9:17:54 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-----------------------------------+--------------------------------------
Reporter: romanshrestha20 | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by romanshrestha20):

* Attachment "Screenshot (4).png" added.

Django

unread,
May 18, 2023, 9:18:55 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-------------------------------------+-------------------------------------
Reporter: romanshrestha20 | Owner:
| romanshrestha20
Type: Bug | Status: assigned

Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by romanshrestha20):

* owner: nobody => romanshrestha20
* status: new => assigned
* ui_ux: 0 => 1


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

Django

unread,
May 18, 2023, 9:21:32 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-------------------------------------+-------------------------------------
Reporter: romanshrestha20 | Owner:
| romanshrestha20
Type: Bug | Status: assigned
Component: Testing framework | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------

Old description:

> I would like to report a typo in the Django documentation, specifically

> in the "Writing your first Django app, part 5" tutorial.


>
> In the section where the method assertQuerySetEqual() is mentioned, there
> is a typo in the method name. The correct method name is
> assertQuerysetEqual() (with a lowercase "s" in "Queryset"). However, in
> the documentation, it is incorrectly written as "assertQuerySetEqual()"
> (with an uppercase "S" in "QuerySet").
>
> Page/Section: "Writing your first Django app, part 5"
> URL: https://docs.djangoproject.com/en/4.2/intro/tutorial05/
>
> Suggested Correction:
> I suggest correcting the method name to assertQuerysetEqual() to match
> the actual method name used in Django. This correction will ensure
> consistency and prevent confusion among users when using the method.
>
> Thank you for your attention to this matter. I hope this helps in
> improving the accuracy and clarity of the Django documentation.

New description:

I would like to report a typo in the Django documentation, specifically in
the "Writing your first Django app, part 5" tutorial.

In the section where the method assertQuerySetEqual() is mentioned, there
is a typo in the method name. The correct method name is
assertQuerysetEqual() (with a lowercase "s" in "Queryset"). However, in
the documentation, it is incorrectly written as "assertQuerySetEqual()"
(with an uppercase "S" in "QuerySet").

Page/Section: "Writing your first Django app, part 5"
URL: https://docs.djangoproject.com/en/4.2/intro/tutorial05/

Suggested Correction:
I suggest correcting the method name to assertQuerysetEqual() to match the
actual method name used in Django. This correction will ensure consistency
and prevent confusion among users when using the method.

Thank you for your attention to this matter. I hope this helps in
improving the accuracy and clarity of the Django documentation.

Best regards,
Roman Shrestha

--

Comment (by romanshrestha20):

The current method name mentioned in the documentation,
"assertQuerySetEqual()", is inconsistent with the actual method name used
in Django, which is "assertQuerysetEqual()". The correct method name
should have a lowercase "s" in "Queryset".

It is important to maintain accuracy and clarity in the documentation to
assist users in understanding and using Django effectively. Thank you for


your attention to this matter.

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

Django

unread,
May 18, 2023, 9:23:49 AM5/18/23
to django-...@googlegroups.com
#34573: Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()
-------------------------------------+-------------------------------------
Reporter: Roman Shrestha | Owner: Roman
| Shrestha
Type: Bug | Status: closed

Component: Testing framework | Version: 4.2
Severity: Normal | Resolution: invalid

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

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


Comment:

`assertQuerysetEqual` was renamed to `assertQuerySetEqual` in Django 4.2.

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

Reply all
Reply to author
Forward
0 new messages