change shotgun en booleanfield

This commit is contained in:
Ludovic Stephan 2016-10-10 16:56:31 +02:00
parent e267cb91ef
commit 4c6b33ccb4
3 changed files with 12 additions and 25 deletions

View file

@ -218,7 +218,7 @@ class SpectacleReventeAdmin(admin.ModelAdmin):
list_display = ("spectacle", "seller", "date", "soldTo")
raw_id_fields = ("attribution",)
readonly_fields = ("shotgun", "expiration_time")
readonly_fields = ("expiration_time",)
search_fields = ("spectacle__title",
"seller__user__username",
"seller__user__firstname",