Opened 16 years ago
Closed 16 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: | no | UI/UX: | no |
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
Note:
See TracTickets
for help on using tickets.
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.