Changes between Initial Version and Version 1 of Ticket #29306
- Timestamp:
- 04/10/18 00:17:40 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29306
-
Property
Summary
changed from
[bugs for all version]Template variable-lookups system evaluate callables before completed the evaluation
to[bugs]Template variable-lookups system invoke class when access class attribute
-
Property
Summary
changed from
-
Ticket #29306 – Description
initial v1 1 1 {{{ 2 2 class A: 3 class B: 4 attr="Hello" 3 def __init__(self, value): 4 pass 5 attr="Hello" 5 6 6 7 from django.template import Template, Context 7 t = Template(" {{ A. B.attr }}")8 t = Template(" {{ A.attr }}") 8 9 output=t.render(Context({"A": A})) 9 10 }}}