Opened 7 years ago

Closed 7 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

Change History (1)

comment:1 Changed 7 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.

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