Support for 'deed.pl' license URL.
[wolnelektury.git] / apps / funding / admin.py
old mode 100755 (executable)
new mode 100644 (file)
index 37adaf1..66cff10
@@ -4,13 +4,14 @@ 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):
     model = Perk
-    list_display = ['name', 'price', 'end_date', 'offer']
+    list_display = ['name', 'long_name', 'price', 'end_date', 'offer']
 
 
 class FundingAdmin(admin.ModelAdmin):