class OfferAdmin(admin.ModelAdmin):
model = Offer
- list_display = ['title', 'author', 'target', 'sum', 'state', 'start', 'end', 'due']
+ list_display = ['title', 'author', 'target', 'sum', 'is_win', 'start', 'end', 'due']
search_fields = ['title', 'author']
+ readonly_fields = ('cover_img_tag',)
class PerkAdmin(admin.ModelAdmin):