X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ff132bd3bbbad657112d7a7d9e16fe7530055b3f..11cf55cf2859a23edd2d1dba56e574d01cacce4f:/apps/funding/admin.py diff --git a/apps/funding/admin.py b/apps/funding/admin.py old mode 100755 new mode 100644 index 37adaf111..44e94ad88 --- a/apps/funding/admin.py +++ b/apps/funding/admin.py @@ -4,8 +4,9 @@ from .models import Offer, Perk, Funding, Spent 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):