[damned-lies] Exclude inactive states from activity summary
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Exclude inactive states from activity summary
- Date: Mon, 7 Nov 2011 17:25:10 +0000 (UTC)
commit a3ce572754ad584838293109fa2af77eb002e484
Author: Claude Paroz <claude 2xlibre net>
Date: Mon Nov 7 18:24:58 2011 +0100
Exclude inactive states from activity summary
vertimus/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vertimus/views.py b/vertimus/views.py
index 9417d62..3ab1639 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -212,7 +212,7 @@ def latest_uploaded_po(request, module_name, branch_name, domain_name, locale_na
def activity_by_language(request, locale):
language = get_object_or_404(Language, locale=locale)
- states = State.objects.filter(language=language)
+ states = State.objects.filter(language=language).exclude(name='None')
context = {
'pageSection': "languages",
'language': language,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]