1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keys

This resolves a problem on databases besides PostgreSQL when using
prefetch_related with a source model that uses a UUID primary key.
This commit is contained in:
Brian King
2015-06-05 12:40:51 +01:00
committed by Tim Graham
parent 841a87785a
commit bfb5b7150f
4 changed files with 119 additions and 1 deletions

View File

@@ -66,3 +66,6 @@ Bugfixes
* Provided better backwards compatibility for the ``verbosity`` argument in
``optparse`` management commands by casting it to an integer
(:ticket:`24769`).
* Fixed ``prefetch_related()`` on databases other than PostgreSQL for models
using UUID primary keys (:ticket:`24912`).