forked from DGNum/gestioCOF
fix affichage admin
This commit is contained in:
parent
f44b3fc33c
commit
6793194adc
2 changed files with 8 additions and 5 deletions
|
@ -214,7 +214,8 @@ class SpectacleReventeAdmin(admin.ModelAdmin):
|
|||
return obj.attribution.participant
|
||||
|
||||
list_display = ("spectacle", "participant", "date", "sold")
|
||||
readonly_fields = ("shotgun",)
|
||||
raw_id_fields = ("attribution",)
|
||||
readonly_fields = ("shotgun", "expiration_time")
|
||||
list_filter = ("sold", )
|
||||
search_fields = ("spectacle__title",
|
||||
"participant__user__username",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue