mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #36326 -- Added CompositePrimaryKey support in QuerySet.raw().
Signed-off-by: SaJH <wogur981208@gmail.com>
This commit is contained in:
@@ -201,6 +201,9 @@ Models
|
||||
:ref:`a forced update <ref-models-force-insert>` results in no affected rows,
|
||||
instead of a generic :exc:`django.db.DatabaseError`.
|
||||
|
||||
* :meth:`.QuerySet.raw` now supports models with a
|
||||
:class:`~django.db.models.CompositePrimaryKey`.
|
||||
|
||||
Pagination
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user