Code

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#20266 closed Uncategorized (fixed)

Typo in https://docs.djangoproject.com/en/1.5/topics/class-based-views/intro/

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

Description

In the section about subclassing views (GreetView), the URLconf example is wrong - it should be GreetingView.as_view(), not MyView.as_view()

Attachments (0)

Change History (3)

comment:1 Changed 15 months ago by jim@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 15 months ago by Claude Paroz <claude@…>

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

In 58b3a974fc30c369eabacc747e1763cf04d053fd:

Fixed #20266 -- Updated view example in CBV introduction

Thanks jim at hellolocals.com for the report.

comment:3 Changed 15 months ago by Claude Paroz <claude@…>

In 807264ed8d04f3ef2755f68f581cf5f0d03817dc:

[1.5.x] Fixed #20266 -- Updated view example in CBV introduction

Thanks jim at hellolocals.com for the report.
Backport of 58b3a974fc from master.

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.