Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#10386 closed (invalid)

typo in doc for 'get_object_or_404' and 'get_object_or_404'

Reported by: gogna Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: typo
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


the 'class' arguments are erroneously written as 'klass'

Attachments (1)

typo.diff (557 bytes) - added by gogna 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by gogna

comment:1 Changed 7 years ago by gogna

  • Component changed from Uncategorized to Documentation
  • Keywords typo added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by Alex

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 Changed 7 years ago by ubernostrum

And this is the correct way to do it -- class is a reserved word in Python, and you can't use it for a variable, so typically people switch a letter or two or abbreviate it cls (on class methods).

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