affiche maintenant le prix dans dans l'interface admin, quand on clique sur un particpant

This commit is contained in:
Qwann 2016-06-10 18:01:03 +02:00
parent 0261bcabf8
commit 7a8e27d0a3

View file

@ -38,6 +38,7 @@ class ParticipantAdmin(admin.ModelAdmin):
actions = ['send_attribs',]
actions_on_bottom = True
list_per_page = 400
readonly_fields = ("total",)
def send_attribs(self, request, queryset):
for member in queryset.all():