Source

django-poll-system / poll / admin.py

Diff from to

File poll/admin.py

     model = Item
     extra = 5
     max_num = 10
+    fields = ('userbox', 'value', 'index', 'vote_count',)
+    readonly_fields = ('vote_count',)
 
 
 class PollAdmin(admin.ModelAdmin):