From: Jan Szejko Date: Wed, 11 Jul 2018 13:44:45 +0000 (+0200) Subject: fix: get_query_set -> get_queryset X-Git-Tag: 0.7.7 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/d5a0741cc7b699d6124663921b686d14f8ad6206?ds=sidebyside fix: get_query_set -> get_queryset --- 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',