fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
css fixes for older browsers
[prawokultury.git]
/
migdal
/
views.py
diff --git
a/migdal/views.py
b/migdal/views.py
index
594444d
..
1ece4cc
100644
(file)
--- a/
migdal/views.py
+++ b/
migdal/views.py
@@
-80,7
+80,6
@@
class SearchPublishedView(SearchView):
results = super(SearchPublishedView, self).get_results()
lang_code = get_language()
def is_published(entity):
results = super(SearchPublishedView, self).get_results()
lang_code = get_language()
def is_published(entity):
- print "is published? %s, %s" % (entity.published_pl, entity.published_en)
if isinstance(entity, Entry):
return getattr(entity, "published_%s" % lang_code) == True
else:
if isinstance(entity, Entry):
return getattr(entity, "published_%s" % lang_code) == True
else: