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:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user