fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minimal allauth support
[wolnelektury.git]
/
apps
/
reporting
/
templatetags
/
reporting_stats.py
diff --git
a/apps/reporting/templatetags/reporting_stats.py
b/apps/reporting/templatetags/reporting_stats.py
index
dceee00
..
6f20c08
100755
(executable)
--- a/
apps/reporting/templatetags/reporting_stats.py
+++ b/
apps/reporting/templatetags/reporting_stats.py
@@
-49,11
+49,11
@@
def count_books_all():
return Book.objects.all().count()
@register_counter
return Book.objects.all().count()
@register_counter
-def count_books
_nonempty
():
+def count_books():
return Book.objects.exclude(html_file='').count()
@register_counter
return Book.objects.exclude(html_file='').count()
@register_counter
-def count_books_
empty
():
+def count_books_
parent
():
return Book.objects.filter(html_file='').count()
@register_counter
return Book.objects.filter(html_file='').count()
@register_counter