#27730: Document that template tags with "as" variable assignment don't
propogate
variables across blocks
--------------------------------------+------------------------------------
Reporter: Peter Bittner | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Peter Bittner):
I think it makes sense to document the behavior in the section of the tag
itself, because when you do programming you jump in directly to the
specific section. You don't read up on concepts first.
If this is some generic behavior it should be documented in a central
place (maybe "template inheritance" makes sense?), but links from the
specific sections should point there. Especially if the behavior is not
obvious---and I have a bit of a feeling it isn't.
--
Ticket URL: <https://code.djangoproject.com/ticket/27730#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.d1deccbed6e9e5e34a8094335d541ed6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.