From 75564e93e1517b10fd777fd3e1061552ea2f7f0f Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sat, 6 Oct 2018 22:27:01 +0100 Subject: [PATCH] Revert "models: Only set 'base_manager_name' for Django >= 1.10" This reverts commit 5708fb48adecfd9929366b114bdb6d4cd09df74e. This change required a migration which was not included in 2.0.0. It's not possible to backport the migration but since this change only hides a warning in the versions of Django supported here, it's easy to just revert this. Signed-off-by: Stephen Finucane Stable-Only --- patchwork/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/patchwork/models.py b/patchwork/models.py index ec110189..d738ed97 100644 --- a/patchwork/models.py +++ b/patchwork/models.py @@ -569,8 +569,7 @@ class Patch(SeriesMixin, Submission): class Meta: verbose_name_plural = 'Patches' - if django.VERSION >= (1, 10): - base_manager_name = 'objects' + base_manager_name = 'objects' class Comment(EmailMixin, models.Model): -- 2.47.3