Django Template Tag for Dictionary Access
Code: dictionaries, Django, hash, templates
Comments Off on Django Template Tag for Dictionary Access
About a million times when writing Django pages I’ve been iterating through a list of objects and wanted to look up a value in a dictionary keyed by object.id. But you can’t, the built-in tags don’t allow it.