#10932: Allow Min() on CharFields on postgres -----------------------------+---------------------------------------------- Reporter: terrex | Owner: Status: new | Milestone: Component: ORM aggregation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | -----------------------------+---------------------------------------------- Ticket #3566 (features aggregation for ORM) adds method convert_value which fall into "float(value)" and then, does not allow to apply Min, Max, etc, to CharFields. sqlite backend overwrites (in DatabaseOperations) this and returns value instead of float(value), but postgres backend does not overwrite this method. I'll attach an improvable workaround on this.
-- Ticket URL: <http://code.djangoproject.com/ticket/10932> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---