djangosnippets.org: Latest snippets tagged with 'dynamic-lookup'http://djangosnippets.org/tags/dynamic-lookup/2008-03-08T14:32:31.506540-06:00Lazily lookup dynamically for templates
2008-03-08T14:32:31.506540-06:00axiakhttp://djangosnippets.org/snippets/632/<p>If you've ever wanted to dynamically lookup values in the template layer (e.g. <code>dictionary[bar]</code>), then you've probably realized/been told to do this in the python layer. The problem is then you often to build a huge 2-D list to hold all of that data.</p>
<p>These are two solutions to …</p>
Freely redistributable