Skip to content

Commit

Permalink
add ProposalResult to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
codersquid committed May 9, 2014
1 parent 4004a35 commit e2196c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions symposion/reviews/admin.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from django.contrib import admin

from symposion.reviews.models import NotificationTemplate, Review
from symposion.reviews.models import NotificationTemplate, Review, ProposalResult

admin.site.register(Review,
list_display = ['proposal', 'vote', 'user'],
list_filter = ['vote',],
date_heirarchy='submitted_at',
)



admin.site.register(NotificationTemplate)
admin.site.register(ProposalResult,
list_display=["proposal", "status"],
list_filter=["status"],
)

0 comments on commit e2196c7

Please sign in to comment.