fix: get_query_set -> get_queryset 0.7.7
authorJan Szejko <janek37@gmail.com>
Wed, 11 Jul 2018 13:44:45 +0000 (15:44 +0200)
committerJan Szejko <janek37@gmail.com>
Wed, 11 Jul 2018 13:44:45 +0000 (15:44 +0200)
migdal/models.py
setup.py

index 89a194d..703ef21 100644 (file)
@@ -40,8 +40,8 @@ add_translatable(Category, {
 
 
 class PublishedEntryManager(models.Manager):
 
 
 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)
             )
 
                 tQ(published=True)
             )
 
index ccd67ba..96c6bd7 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ def whole_trees(package_dir, paths):
 
 setup(
     name='django-migdal',
 
 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',
     author='Radek Czajka',
     author_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     maintainer='Jan Szejko',