Skip to content

Commit 5b5ffb5

Browse files
authored
Merge pull request #2631 from rtfd/easier-promo-editing
Allow editing of promo attributes in list view
2 parents 5732b1f + 32bd66b commit 5b5ffb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readthedocs/donate/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class SupporterPromoAdmin(admin.ModelAdmin):
5353
list_display = ('name', 'live', 'click_ratio', 'sold_impressions',
5454
'total_views', 'total_clicks')
5555
list_filter = ('live', 'display_type')
56+
list_editable = ('live', 'sold_impressions')
5657
readonly_fields = ('total_views', 'total_clicks')
5758
inlines = [ImpressionInline, GeoFilterInline]
5859
actions = [set_default_countries]

0 commit comments

Comments
 (0)