Code

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#774 closed defect (fixed)

Typo in 'User authentication in Django' documentation article?

Reported by: footless@… Owned by: jacob
Component: *.djangoproject.com Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Second example from the bottom at http://www.djangoproject.com/documentation/authentication/

'return render_to_response("playlists/create", context_instance=DjangoContext)'

this only works for me if i the instantiate DjangoContext first, eg:

'return render_to_response("playlists/create", context_instance=DjangoContext(request))'

This is my first ticket, hope it helps and that I'm not wasting your time,

Cheers,
foot

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by jbennett@…

Another one spotted: under the heading "Authentication data in templates" is a link which should point to http://www.djangoproject.com/documentation/templates_python/ but instead goes to http://www.djangoproject.com/documentation/models/templates_python/, which is a 404.

comment:2 Changed 9 years ago by adrian

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

(In [1199]) Fixed #774 -- Fixed typos in docs/authentication.txt. Thanks, footless and jbennett

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.