djangosnippets.org: Latest snippets tagged with 'encapsulation'https://djangosnippets.org/tags/encapsulation/2007-03-23T19:45:19.121969-05:00{% with %} template tag
2007-03-23T19:45:19.121969-05:00SmileyChrishttps://djangosnippets.org/snippets/132/<p>Add a value to the context (inside of this block) for easy access.</p>
<p>Provides a way to stay DRYer in your templates.</p>
<p><strong>NOTE:</strong> This tag is now in Django core, so if you have Django >0.96 (or SVN) then you do NOT need this.</p>
Freely redistributable