1Remember that the dot notation in a Django template is used for four different notations in Python. In a template, foo.bar can mean any of:
2
3foo[bar] # dictionary lookup
4foo.bar # attribute lookup
5foo.bar() # method call
6foo[bar] # list-index lookup