#24183 closed Bug (fixed)
Bad comparison in Substr function
Description ¶
The following line in django/db/models/functions.py
:
if not hasattr('length', 'resolve_expression')
should be:
if not hasattr(length, 'resolve_expression')
Change History (3)
comment:1 by , 10 years ago
Easy pickings: | set |
---|---|
Has patch: | set |
Owner: | changed from | to
Status: | new → assigned |
Triage Stage: | Accepted → Ready for checkin |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/3954