In http://www.djangoproject.com/documentation/templates/#variables it says:

-------------
Behind the scenes
Technically, when the template system encounters a dot, it tries the following lookups, in this order:

        * Dictionary lookup
        * Attribute lookup
        * Method call
        * List-index lookup
-------------

This appears to say that it is possible to call a method directly from within a template. Exactly how does one do a method call this way, where would that method live, and what would such an animal look like?

Thanks,
Michael

Reply via email to