Opened 18 months ago
Closed 18 months ago
#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 )
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)
Change History (7)
by , 18 months ago
Attachment: | Screenshot (1).png added |
---|
by , 18 months ago
Attachment: | Screenshot (2).png added |
---|
by , 18 months ago
Attachment: | Screenshot (3).png added |
---|
by , 18 months ago
Attachment: | Screenshot (4).png added |
---|
comment:1 by , 18 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
UI/UX: | set |
comment:2 by , 18 months ago
Description: | modified (diff) |
---|
comment:3 by , 18 months ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
assertQuerysetEqual
was renamed to assertQuerySetEqual
in Django 4.2.
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.