fnp
/
django-migdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
336f392
)
fix: get_query_set -> get_queryset
0.7.7
author
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jul 2018 13:44:45 +0000
(15:44 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 11 Jul 2018 13:44:45 +0000
(15:44 +0200)
migdal/models.py
patch
|
blob
|
history
setup.py
patch
|
blob
|
history
diff --git
a/migdal/models.py
b/migdal/models.py
index
89a194d
..
703ef21
100644
(file)
--- a/
migdal/models.py
+++ b/
migdal/models.py
@@
-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)
)
diff --git
a/setup.py
b/setup.py
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',