[damned-lies] Extended search fields for module admin
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Extended search fields for module admin
- Date: Thu, 6 Oct 2016 07:42:50 +0000 (UTC)
commit d26c1392744fb8395899dddd6619779151400400
Author: Claude Paroz <claude 2xlibre net>
Date: Thu Oct 6 09:42:14 2016 +0200
Extended search fields for module admin
stats/admin.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/admin.py b/stats/admin.py
index ff14ea5..a8aca5b 100644
--- a/stats/admin.py
+++ b/stats/admin.py
@@ -98,7 +98,7 @@ class ModuleAdmin(admin.ModelAdmin):
}),
)
inlines = [ BranchInline, DomainInline ]
- search_fields = ('name',)
+ search_fields = ('name', 'homepage', 'comment', 'vcs_web')
def formfield_for_dbfield(self, db_field, **kwargs):
field = super(ModuleAdmin, self).formfield_for_dbfield(db_field, **kwargs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]