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:
commit
3c52fde211
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