#34573 closed Bug (invalid)

Typo in "Writing your first Django app, part 5" - assertQuerysetEqual()

Reported by: Roman Shrestha Owned by: Roman Shrestha
Component: Testing framework Version: 4.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Roman Shrestha)

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

Attachments (4)

Screenshot (1).png (188.1 KB ) - added by Roman Shrestha 18 months ago.
Screenshot (2).png (185.6 KB ) - added by Roman Shrestha 18 months ago.
Screenshot (3).png (175.9 KB ) - added by Roman Shrestha 18 months ago.
Screenshot (4).png (200.1 KB ) - added by Roman Shrestha 18 months ago.

Download all attachments as: .zip

Change History (7)

by Roman Shrestha, 18 months ago

Attachment: Screenshot (1).png added

by Roman Shrestha, 18 months ago

Attachment: Screenshot (2).png added

by Roman Shrestha, 18 months ago

Attachment: Screenshot (3).png added

by Roman Shrestha, 18 months ago

Attachment: Screenshot (4).png added

comment:1 by Roman Shrestha, 18 months ago

Owner: changed from nobody to Roman Shrestha
Status: newassigned
UI/UX: set

comment:2 by Roman Shrestha, 18 months ago

Description: modified (diff)

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.

comment:3 by Mariusz Felisiak, 18 months ago

Resolution: invalid
Status: assignedclosed

assertQuerysetEqual was renamed to assertQuerySetEqual in Django 4.2.

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