From 953c980976231d6d2e1d26a58595710dcf10cc71 Mon Sep 17 00:00:00 2001
From: Matt Westcott <matt@west.co.tt>
Date: Mon, 9 Oct 2023 19:07:20 +0100
Subject: [PATCH] Release notes for #10931 in 5.2

---
 CHANGELOG.txt        | 4 +++-
 docs/releases/5.2.md | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 08db7955f7..12c2ace718 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -51,6 +51,8 @@ Changelog
  * Fix: Update Spotify oEmbed provider URL parsing to resolve correctly (Dhrűv)
  * Fix: Update link colours within help blocks to meet accessible contrast requirements (Rohit Sharma)
  * Fix: Ensure the search promotions popular search terms picker correctly refers to the correct model (LB (Ben) Johnston)
+ * Fix: Correctly quote non-numeric primary keys on snippet inspect view (Sage Abdullah)
+ * Fix: Prevent crash on snippet inspect view when displaying a null foreign key to an image (Sage Abdullah)
  * Docs: Document `WAGTAILADMIN_BASE_URL` on "Integrating Wagtail into a Django project" page (Shreshth Srivastava)
  * Docs: Replace incorrect screenshot for authors listing on tutorial (Shreshth Srivastava)
  * Docs: Add documentation for building non-model-based choosers using the _queryish_ library (Matt Westcott)
@@ -95,7 +97,7 @@ Changelog
  * Maintenance: Update CI database versions (Jake Howard)
  * Maintenance: Add changelog and issue tracker links to the PyPI project page (Panagiotis H.M. Issaris)
  * Maintenance: Add better deprecation warnings to the `search.Query` & `search.QueryDailyHits` model, move final set of templates from the admin search module to the search promotions contrib module (LB (Ben) Johnston)
-
+ * Maintenance: Add generic `InspectView` to `ModelViewSet` (Sage Abdullah)
 
 5.1.3 (xx.xx.20xx) - IN DEVELOPMENT
 ~~~~~~~~~~~~~~~~~~
diff --git a/docs/releases/5.2.md b/docs/releases/5.2.md
index 28b26c5762..bbffa3c6e8 100644
--- a/docs/releases/5.2.md
+++ b/docs/releases/5.2.md
@@ -67,6 +67,8 @@ depth: 1
  * Update Spotify oEmbed provider URL parsing to resolve correctly (Dhrűv)
  * Update link colours within help blocks to meet accessible contrast requirements (Rohit Sharma)
  * Ensure the search promotions popular search terms picker correctly refers to the correct model (LB (Ben) Johnston)
+ * Correctly quote non-numeric primary keys on snippet inspect view (Sage Abdullah)
+ * Prevent crash on snippet inspect view when displaying a null foreign key to an image (Sage Abdullah)
 
 ### Documentation
 
@@ -118,6 +120,7 @@ depth: 1
  * Update CI database versions (Jake Howard)
  * Add changelog and issue tracker links to the PyPI project page (Panagiotis H.M. Issaris)
  * Add better deprecation warnings to the `search.Query` & `search.QueryDailyHits` model, move final set of templates from the admin search module to the search promotions contrib module (LB (Ben) Johnston)
+ * Add generic `InspectView` to `ModelViewSet` (Sage Abdullah)
 
 
 ## Upgrade considerations - changes affecting all projects