fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Offers have covers
[wolnelektury.git]
/
apps
/
funding
/
admin.py
diff --git
a/apps/funding/admin.py
b/apps/funding/admin.py
index
b9fc8c9
..
44e94ad
100644
(file)
--- a/
apps/funding/admin.py
+++ b/
apps/funding/admin.py
@@
-6,6
+6,7
@@
class OfferAdmin(admin.ModelAdmin):
model = Offer
list_display = ['title', 'author', 'target', 'sum', 'is_win', 'start', 'end', 'due']
search_fields = ['title', 'author']
+ readonly_fields = ('cover_img_tag',)
class PerkAdmin(admin.ModelAdmin):