diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-01 16:56:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-01 16:56:40 -0500 |
commit | bc0e9d3e85e01e327ee5c58ecbbda8c93894caa6 (patch) | |
tree | 2068d1e4b5bcdafcdf43b49aeb73596f6c37a8a9 /main/admin.py | |
parent | ade2c08899abf77f6d836432c9988ad3f9652a95 (diff) |
Add created column to Donor model
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r-- | main/admin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/admin.py b/main/admin.py index e86e5cab..e5da9fb9 100644 --- a/main/admin.py +++ b/main/admin.py @@ -4,9 +4,10 @@ from django.contrib.auth.admin import UserAdmin from main.models import Arch, Donor, Package, Repo, Todolist, UserProfile class DonorAdmin(admin.ModelAdmin): - list_display = ('name', 'visible') - list_filter = ('visible',) + list_display = ('name', 'visible', 'created') + list_filter = ('visible', 'created') search_fields = ('name',) + exclude = ('created',) class ArchAdmin(admin.ModelAdmin): list_display = ('name', 'agnostic') |