Merge branch 'qwann/prix_admin_bda' into 'master'

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

fixes #33 

See merge request !31
This commit is contained in:
Martin Pepin 2016-06-10 22:18:37 +02:00
commit 3c52fde211

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():