django/django — pull request #67 by valhallasw (2012-05-16 10:39:58+00:00)
Title: [PATCH] issue #13844 "Errors when using character fields for aggregation"

https://code.djangoproject.com/ticket/13844

This patch solves the issue by using Field.to_python() to do conversion, instead of having dispatching logic in the database operations layer.

50edfe68	adds a regression test which specifically addresses #13844;
b0bdaf4b removes the conversion logic from BaseDatabaseOperations, dispatching it to Field.to_python() instead.