git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added get_item_queryset method to BlogView and NewsletterView so that subclasses...
[philo.git]
/
contrib
/
shipherd
/
models.py
diff --git
a/contrib/shipherd/models.py
b/contrib/shipherd/models.py
index
5146987
..
dee16e9
100644
(file)
--- a/
contrib/shipherd/models.py
+++ b/
contrib/shipherd/models.py
@@
-155,7
+155,7
@@
class NavigationManager(models.Manager):
# A distinct query is not strictly necessary. TODO: benchmark the efficiency
# with/without distinct.
# A distinct query is not strictly necessary. TODO: benchmark the efficiency
# with/without distinct.
- targets = list(Node.objects.filter(navigation_items__in=
cache['items']
).distinct())
+ targets = list(Node.objects.filter(navigation_items__in=
items
).distinct())
for cache in caches:
for item in cache['items']:
for cache in caches:
for item in cache['items']: