Code

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5060 closed (invalid)

inconsistent capitalization

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

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).

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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 Changed 7 years ago by rpt38@…

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!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.