Hi,
According to the docs,
"... when the template system encounters a dot in a variable name, it
tries the following lookups, in this order:
* Dictionary lookup. Example: foo["bar"]
* Attribute lookup. Example: foo.bar
* Method call. Example: foo.bar()
* List-index lookup. Examp
Hi, I'm new to Django and Python too, and just started planning the
migration of an existing app to Django, after reading (though not very
carefully) The Definitive Guide to Django. Excellent documentation,
BTW!
I'd like to know which is the recommended approach to handle this
situation in Django
2 matches
Mail list logo