Hi,
I noticed that when I use variables in Django templates that access object
properties, it doesn't work. (e.g. I have {{ foo.bar }} while bar is a
Python property.)
See the documentation for variables in Django templates:
https://docs.djangoproject.com/en/1.8/ref/templates/language/#variables
It indeed doesn't mention properties.
Why should properties not work through template? I can't think of a good
reason.
Thanks,
Ram.
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/b453d6a3-a35e-408c-962c-7c742c72a218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.