From cf97a4ed79c9f40843f3dd77b3173030cd463941 Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Mon, 1 Mar 2021 09:02:29 +0100 Subject: [PATCH 1/2] Completely remove Django 1.11 notes We dropped Django 1.11 support in 1.2.1: https://github.com/model-bakers/model_bakery/blob/main/CHANGELOG.md#121 Documentation and requirements were still referencing this version. It is time to drop it completely (this Django version is not being maintained since April 2020: https://www.djangoproject.com/download/#supported-versions). --- docs/source/index.rst | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index 73656dc9..bd27dabc 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -11,7 +11,7 @@ Model Bakery is a rename of the legacy `model_mommy's project = 1.11 +Model Bakery supports Django >= 2.2. Install ======= diff --git a/requirements.txt b/requirements.txt index f9105b95..cc63175c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -django>=1.11.0<3.2 +django>=2.2<3.2 From ff3cb4aaa6f46bf237df0da2ef5ddd44bd4ac039 Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Mon, 1 Mar 2021 09:05:11 +0100 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9774eae3..9df27a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Removed - `model_bakery.timezone.now` fallback (use `django.utils.timezone.now` instead) [PR #141](https://github.com/model-bakers/model_bakery/pull/141) - `model_bakery.timezone.smart_datetime` function (directly use `model_bakery.timezone.tz_aware` instead) [PR #147](https://github.com/model-bakers/model_bakery/pull/147) +- Remove all signs of Django 1.11 (as we dropped it in 1.2.1) [PR #157](https://github.com/model-bakers/model_bakery/pull/157) ## [1.2.1](https://pypi.org/project/model-bakery/1.2.1/)