Skip to content

Commit 773695e

Browse files
committed
Small admin cleanup
1 parent c8254c9 commit 773695e

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
@@ -44,6 +44,7 @@ class ImpressionInline(admin.TabularInline):
4444
class SupporterPromoAdmin(admin.ModelAdmin):
4545
model = SupporterPromo
4646
save_as = True
47+
prepopulated_fields = {'analytics_id': ('name',)}
4748
list_display = ('name', 'live', 'click_ratio', 'sold_impressions',
4849
'total_views', 'total_clicks')
4950
list_filter = ('live', 'display_type')

0 commit comments

Comments
 (0)