From d5a0741cc7b699d6124663921b686d14f8ad6206 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 11 Jul 2018 15:44:45 +0200 Subject: [PATCH 1/1] fix: get_query_set -> get_queryset --- migdal/models.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/migdal/models.py b/migdal/models.py index 89a194d..703ef21 100644 --- a/migdal/models.py +++ b/migdal/models.py @@ -40,8 +40,8 @@ add_translatable(Category, { class PublishedEntryManager(models.Manager): - def get_query_set(self): - return super(PublishedEntryManager, self).get_query_set().filter( + def get_queryset(self): + return super(PublishedEntryManager, self).get_queryset().filter( tQ(published=True) ) diff --git a/setup.py b/setup.py index ccd67ba..96c6bd7 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ def whole_trees(package_dir, paths): setup( name='django-migdal', - version='0.7.6', + version='0.7.7', author='Radek Czajka', author_email='radoslaw.czajka@nowoczesnapolska.org.pl', maintainer='Jan Szejko', -- 2.20.1