[damned-lies] Added filters in State admin interface
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Added filters in State admin interface
- Date: Fri, 8 Aug 2014 16:28:11 +0000 (UTC)
commit a7586c9629e9ed53625c9d1296ead6fc7525501e
Author: Claude Paroz <claude 2xlibre net>
Date: Fri Aug 8 18:23:18 2014 +0200
Added filters in State admin interface
vertimus/admin.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vertimus/admin.py b/vertimus/admin.py
index 67daf8e..902adc3 100644
--- a/vertimus/admin.py
+++ b/vertimus/admin.py
@@ -4,6 +4,7 @@ from django.contrib import admin
from vertimus.models import State, Action
class StateAdmin(admin.ModelAdmin):
+ list_filter = ('name', 'language')
raw_id_fields = ('branch', 'domain', 'person',)
search_fields = ('branch__module__name',)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]