Changeset bb674c2
- Timestamp:
- Aug 6, 2011, 5:35:15 AM (14 years ago)
- Branches:
- master, space-access, stable, stage, test-hooks
- Children:
- 165e5aa, 5b834ab
- Parents:
- c9d8369
- git-author:
- Alex Dehnert <adehnert@…> (08/06/11 05:35:15)
- git-committer:
- Alex Dehnert <adehnert@…> (08/06/11 05:35:15)
- Location:
- asadb
- Files:
-
- 3 edited
-
forms/admin.py (modified) (1 diff)
-
forms/models.py (modified) (1 diff)
-
groups/admin.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/admin.py
rc27da9e rbb674c2 11 11 ) 12 12 list_display_links = ('group', 'display_name', 'year', ) 13 list_filter = ('year', 'categories', ) 14 search_fields = ('group__name', 'group__abbreviation', 'display_name', 'year', ) 13 15 14 16 class FYSMCategoryAdmin(admin.ModelAdmin): -
asadb/forms/models.py
rc71d5c7 rbb674c2 30 30 ) 31 31 super(FYSM, self).save(*args, **kwargs) # Call the "real" save() method. 32 33 def __str__(self, ): 34 return "%s (%d)" % (self.display_name, self.year, ) 32 35 33 36 class Meta: -
asadb/groups/admin.py
r9480c7b rbb674c2 16 16 ) 17 17 list_display_links = ('id', 'name', ) 18 list_filter = [ 'activity_category', ] 19 date_hierarchy = 'update_date' 18 20 search_fields = [ 'id', 'name', 'abbreviation', 'officer_email', 'athena_locker', ] 19 21
Note: See TracChangeset
for help on using the changeset viewer.