From 51d8433b6bd030a0b8e40811348e3f8dcb501e56 Mon Sep 17 00:00:00 2001
From: Matt Westcott <matt@west.co.tt>
Date: Mon, 17 Feb 2020 12:30:10 +0000
Subject: [PATCH] Release note for #5787

---
 CHANGELOG.txt         | 1 +
 CONTRIBUTORS.rst      | 2 ++
 docs/releases/2.9.rst | 1 +
 3 files changed, 4 insertions(+)

diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 765f7c8f1f..4ca8972dc1 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -10,6 +10,7 @@ Changelog
  * Reduced contrast of rich text toolbar (Jack Paine)
  * Support the rel attribute on custom ModelAdmin buttons (Andy Chosak)
  * Server-side page slug generation now respects `WAGTAIL_ALLOW_UNICODE_SLUGS` (Arkadiusz Michał Ryś)
+ * Wagtail admin no longer depends on SiteMiddleware, avoiding incompatibility with Django sites framework and redundant database queries (aritas1, timmysmalls, Matt Westcott)
  * Fix: Added ARIA alert role to live search forms in the admin (Casper Timmers)
  * Fix: Reorder login form elements to match expected tab order (Kjartan Sverrisson)
  * Fix: Re-add 'Close Explorer' button on mobile viewports (Sævar Öfjörð Magnússon)
diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst
index 37b8d55fef..79d442dcc7 100644
--- a/CONTRIBUTORS.rst
+++ b/CONTRIBUTORS.rst
@@ -433,6 +433,8 @@ Contributors
 * Arkadiusz Michał Ryś
 * James O'Toole
 * Storm Heg
+* Daniel (aritas1)
+* timmysmalls
 
 Translators
 ===========
diff --git a/docs/releases/2.9.rst b/docs/releases/2.9.rst
index 85efd8a4b4..8992719275 100644
--- a/docs/releases/2.9.rst
+++ b/docs/releases/2.9.rst
@@ -20,6 +20,7 @@ Other features
  * Reduced contrast of rich text toolbar (Jack Paine)
  * Support the rel attribute on custom ModelAdmin buttons (Andy Chosak)
  * Server-side page slug generation now respects ``WAGTAIL_ALLOW_UNICODE_SLUGS`` (Arkadiusz Michał Ryś)
+ * Wagtail admin no longer depends on SiteMiddleware, avoiding incompatibility with Django sites framework and redundant database queries (aritas1, timmysmalls, Matt Westcott)
 
 
 Bug fixes