#15265: Problem with "__call__" method in Templates
-------------------------------------------+--------------------------------
Reporter: Stephane | Owner: nobody
Status: closed | Milestone: 1.3
Component: Template system | Version: 1.3-beta
Resolution: wontfix | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
-------------------------------------------+--------------------------------
Changes (by lrekucki):
* status: new => closed
* resolution: => wontfix
Comment:
This is most likely a "won't fix". See ticket #15025 and the
[http://docs.djangoproject.com/en/dev/ref/templates/api/#rendering-a-context
docs for render]. Citing:
> If any part of the variable is callable, the template system will try
calling it.
>
> Changed in Django Development version: Previously, only variables that
originated with an attribute lookup would be called by the template
system. This change was made for consistency across lookup types.
--
Ticket URL: <http://code.djangoproject.com/ticket/15265#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.