Ignore:
Timestamp:
May 12, 2010, 11:04:35 PM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
ca9348d
Parents:
53bf9eb
git-author:
Alex Dehnert <adehnert@…> (05/12/10 23:04:35)
git-committer:
Alex Dehnert <adehnert@…> (05/12/10 23:04:35)
Message:

More awesome admin display of groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/admin.py

    ra559496 r1dc5bb9  
    33
    44class GroupAdmin(admin.ModelAdmin):
    5     list_display = ('name', 'abbreviation', 'officer_email', 'main_account_id', 'funding_account_id', 'athena_locker', 'update_date', 'updater', )
     5    list_display = (
     6        'id',
     7        'name',
     8        'abbreviation',
     9        'officer_email',
     10        'main_account_id',
     11        'funding_account_id',
     12        'athena_locker',
     13        'update_date',
     14        'updater',
     15    )
     16    list_display_links = ('id', 'name', )
     17
    618
    719admin.site.register(groups.models.Group, GroupAdmin)
Note: See TracChangeset for help on using the changeset viewer.