Changeset 7b00af8 for asadb/groups/views.py
- Timestamp:
- Mar 14, 2013, 5:04:17 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 9b22b0f
- Parents:
- 58fe19c
- git-author:
- Alex Dehnert <adehnert@…> (03/14/13 04:55:16)
- git-committer:
- Alex Dehnert <adehnert@…> (03/14/13 05:04:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/views.py
r4752b74 r7b00af8 31 31 32 32 from util.db_form_utils import StaticWidget 33 import util.db_filters 33 34 from util.emails import email_from_template 34 35 … … 900 901 name = django_filters.CharFilter(lookup_type='icontains', label="Name contains") 901 902 abbreviation = django_filters.CharFilter(lookup_type='iexact', label="Abbreviation is") 903 officer_email = django_filters.CharFilter(lookup_type='icontains', label="Officers' list contains") 904 905 account_filter = util.db_filters.MultiNumberFilter( 906 lookup_type='exact', label="Account number", 907 names=('main_account_id', 'funding_account_id', ), 908 ) 902 909 903 910 class Meta: … … 906 913 'name', 907 914 'abbreviation', 915 'officer_email', 908 916 'activity_category', 909 917 'group_class', 910 918 'group_status', 911 919 'group_funding', 920 'account_filter', 912 921 ] 913 922
Note: See TracChangeset
for help on using the changeset viewer.