Re: [Django] #33653: Templates crash when calling methods for built-in types. (was: no signature found for builtin raised for non-existant items)

13 views
Skip to first unread message

Django

unread,
Apr 19, 2022, 2:58:33 PM4/19/22
to django-...@googlegroups.com
#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.

Reply all
Reply to author
Forward
0 new messages