forked from DGNum/gestioCOF
Merge remote-tracking branch 'origin/master' into Aufinal/change_shotgun
This commit is contained in:
commit
b15dc6d9dc
7 changed files with 70 additions and 18 deletions
|
@ -219,10 +219,10 @@ class SpectacleReventeAdmin(admin.ModelAdmin):
|
|||
list_display = ("spectacle", "seller", "date", "soldTo")
|
||||
raw_id_fields = ("attribution",)
|
||||
readonly_fields = ("expiration_time",)
|
||||
search_fields = ("spectacle__title",
|
||||
"seller__user__username",
|
||||
"seller__user__firstname",
|
||||
"seller__user__lastname",)
|
||||
search_fields = ['attribution__spectacle__title',
|
||||
'seller__user__username',
|
||||
'seller__user__first_name',
|
||||
'seller__user__last_name']
|
||||
|
||||
|
||||
admin.site.register(CategorieSpectacle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue