forked from DGNum/gestioCOF
model changes
This commit is contained in:
parent
8f7b036fbc
commit
49afda933a
2 changed files with 7 additions and 3 deletions
|
@ -213,10 +213,9 @@ class SpectacleReventeAdmin(admin.ModelAdmin):
|
|||
def participant(self, obj):
|
||||
return obj.attribution.participant
|
||||
|
||||
list_display = ("spectacle", "participant", "date", "sold")
|
||||
list_display = ("spectacle", "participant", "date", "soldTo")
|
||||
raw_id_fields = ("attribution",)
|
||||
readonly_fields = ("shotgun", "expiration_time")
|
||||
list_filter = ("sold", )
|
||||
search_fields = ("spectacle__title",
|
||||
"participant__user__username",
|
||||
"participant__user__firstname",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue