#13844: Errors when using character fields for aggregation
---------------------------------------------------+------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.2
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by SmileyChris):
* needs_better_patch: => 0
* component: Uncategorized => Database layer (models, ORM)
* needs_tests: => 0
* summary: ValueError: by adding custom aggregate function TRIM =>
Errors when using character fields for
aggregation
* version: 1.1 => 1.2
* needs_docs: => 0
* stage: Unreviewed => Accepted
Comment:
For the life of me I can't understand the logic of the original
`convert_values` method, but it definitely seems wrong.
Someone in IRC encountered a problem because of this using the built in
`Max` aggregation class with a charfield, so it's not just custom
aggregate classes which are effected here.
--
Ticket URL: <http://code.djangoproject.com/ticket/13844#comment:1>
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.