#33653: Templates crash when calling methods for built-in types.
---------------------------------+------------------------------------
     Reporter:  Daniel           |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Template system  |                  Version:  3.2
     Severity:  Normal           |               Resolution:
     Keywords:  template         |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

 * cc: Baptiste Mispelon (added)
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the report. `foo` may exist, the same error is raised for each
 method call for bultin types, e.g.
 {{{#!python
 def myview(request):
     return render(request, "myview.html", {"foo": "X"})
 }}}

 {{{#!html
 {{foo.count}}
 }}}

 Regression in 09341856ed9008875c1cc883dc0c287670131458.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33653#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701804330c3fc-03b5e625-e429-4b29-bb98-820e518033a9-000000%40eu-central-1.amazonses.com.

Reply via email to