From 4339f2aff272bceabd67e452c65bcfe0700b3f09 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 10 Jun 2020 06:53:32 +0200 Subject: [PATCH] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2. Support for sqlparse < 0.2.2 was broken in 40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property was added in sqlparse 0.2.2. --- docs/releases/2.2.txt | 2 +- docs/releases/3.0.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index e72dfefae7..896730ef2f 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -331,7 +331,7 @@ change shouldn't have an impact on your tests unless you've customized ``sqlparse`` is required dependency ----------------------------------- -To simplify a few parts of Django's database handling, `sqlparse +To simplify a few parts of Django's database handling, `sqlparse 0.2.2+ `_ is now a required dependency. It's automatically installed along with Django. diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 51ca584ecb..2bfd7d4719 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -571,8 +571,6 @@ Miscellaneous * ``alias=None`` is added to the signature of :meth:`.Expression.get_group_by_cols`. -* Support for ``sqlparse`` < 0.2.2 is removed. - * ``RegexPattern``, used by :func:`~django.urls.re_path`, no longer returns keyword arguments with ``None`` values to be passed to the view for the optional named groups that are missing.