1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[5.0.x] Fixed #35392, Refs #34331 -- Allowed importing aprefetch_related_objects from django.db.models.

Thanks James Ostrander for the report and fix, and to Tim Graham and
Mariusz Felisiak for the reviews.

Backport of 36b7024b7f from main
This commit is contained in:
James Ostrander
2024-04-19 14:44:54 -04:00
committed by Natalia
parent a42a2fa267
commit ea81c9d343
2 changed files with 10 additions and 1 deletions

View File

@@ -20,3 +20,6 @@ Bugfixes
* Fixed a bug in Django 5.0 that caused a crash when applying migrations
including alterations to ``GeneratedField`` such as setting ``db_index=True``
on SQLite (:ticket:`35373`).
* Allowed importing ``aprefetch_related_objects`` from ``django.db.models``
(:ticket:`35392`).