Opened 18 months ago

Last modified 18 months ago

#34573 closed Bug

Typo in "Writing your first Django app, part 5" - assertQuerysetEqual() — at Version 2

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

Change History (6)

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.

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