diff options
author | Magnus Hagander | 2013-07-19 12:55:56 +0000 |
---|---|---|
committer | Magnus Hagander | 2013-07-19 12:55:56 +0000 |
commit | 3a0dcbdbff5d1dbdef75eee000075c67c27f2915 (patch) | |
tree | 99cab09d9038dcd5ff72522771005144a151972e /pgcommitfest/commitfest/admin.py |
Really need to get this into git, so I can do some hacking.
May very well do a complete rebase later to get rid of history
Diffstat (limited to 'pgcommitfest/commitfest/admin.py')
-rw-r--r-- | pgcommitfest/commitfest/admin.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/admin.py b/pgcommitfest/commitfest/admin.py new file mode 100644 index 0000000..43a890e --- /dev/null +++ b/pgcommitfest/commitfest/admin.py @@ -0,0 +1,18 @@ +from django.contrib import admin + +from models import * + +class PatchOnCommitFestInline(admin.TabularInline): + model = PatchOnCommitFest + extra=1 + +class PatchAdmin(admin.ModelAdmin): + inlines = (PatchOnCommitFestInline,) + list_display = ('name', ) +# list_filter = ('commitfests_set__commitfest__name',) + +admin.site.register(Committer) +admin.site.register(CommitFest) +admin.site.register(Topic) +admin.site.register(Patch, PatchAdmin) +admin.site.register(PatchHistory) |