#24183: Bad comparison in Substr function
-------------------------------------+-------------------------------------
Reporter: claudep | Owner: nobody
Type: Bug | Status: new
Component: Database | Version: 1.8alpha1
layer (models, ORM) |
Severity: Release | Keywords:
blocker |
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The following line in `django/db/models/functions.py`:
{{{
if not hasattr('length', 'resolve_expression')
}}}
should be:
{{{
if not hasattr(length, 'resolve_expression')
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24183>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.7f45e107d2e6e4755f9b638853c2e2c4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.