fix recherche dans spectaclerevente
This commit is contained in:
parent
e267cb91ef
commit
b249d61c2d
1 changed files with 1 additions and 2 deletions
|
@ -219,8 +219,7 @@ class SpectacleReventeAdmin(admin.ModelAdmin):
|
|||
list_display = ("spectacle", "seller", "date", "soldTo")
|
||||
raw_id_fields = ("attribution",)
|
||||
readonly_fields = ("shotgun", "expiration_time")
|
||||
search_fields = ("spectacle__title",
|
||||
"seller__user__username",
|
||||
search_fields = ("seller__user__username",
|
||||
"seller__user__firstname",
|
||||
"seller__user__lastname",)
|
||||
|
||||
|
|
Loading…
Reference in a new issue