Commit 805abd76 authored by Arnaud Fabre's avatar Arnaud Fabre


parent 666c7209
......@@ -32,6 +32,7 @@ class NoneMatchingFilter(admin.SimpleListFilter):
class VoteAdmin(admin.ModelAdmin):
list_display = ('id', 'proposal_reference', 'position', 'representative_name', 'representative_remote_id')
list_filter = (NoneMatchingFilter,)
def proposal_reference(self, obj):
return obj.proposal.reference
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment