Code

Opened 5 years ago

Closed 5 years ago

#10176 closed (wontfix)

It isn't an error, only a suggestion, about 3rd tutorial

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

Description

First of all, congratulations for your work.

I'm reading your tutorials, and they are very interesting, but in the [3rd], you don't talk about locals(), perhaps you do in after documents, but I think that locals() at time of render a webpage is a very quickly and easy way to show information, but you don't talk about it.

Congratulations again for your work.

Regards,
Álex González

[3rd] http://docs.djangoproject.com/en/dev/intro/tutorial03

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by ubernostrum

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

Feeding locals() into a template context is a good way to expose data you didn't want to expose. As such, it's not something a Django tutorial should be recommending.

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.