affiche maintenant le prix dans dans l'interface admin, quand on clique sur un particpant
This commit is contained in:
parent
0261bcabf8
commit
7a8e27d0a3
1 changed files with 1 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue