Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5060 closed (invalid)

inconsistent capitalization

Reported by: rpt38@… Owned by: Jacob
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On the docs page for generic views (http://www.djangoproject.com/documentation/generic_views/) QuerySet is alternatively spelled queryset (which seems correct) but also Queryset (which seems incorrect). Another minor improvement could be adding a year to the last modification date because as it stands now it is a bit ambiguous (some examples reference a 2005 date).

Change History (2)

comment:1 by Chris Beaven, 17 years ago

Resolution: invalid
Status: newclosed

QuerySet refers to the class - which uses this capitalization whereas queryset is referring to an argument which is all lower case. We're not talking VB - case matters.

I'm not following on your other "minor improvement". Could you open a more clear ticket explaining the improvement and providing some more explicit context please?

comment:2 by rpt38@…, 17 years ago

I understand the QuerySet/queryset distinction, I should've been more specific:
Most generic views require the queryset key, which is a QuerySet instance; see the database API docs for more information about Queryset objects.
I meant that I don't think the third is correct. About the other minor improvement, on the right-side bar (a bit above the sentence in question on the right) is a "Last Update" timestamp that I think ought to have a date as well. I hope these (very minor) reports are useful!

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