Use a materialized Extension.latest_version field instead of a dynamic property #152
@ -83,6 +83,7 @@ class ExtensionAdmin(admin.ModelAdmin):
|
|||||||
'website',
|
'website',
|
||||||
'icon',
|
'icon',
|
||||||
'featured_image',
|
'featured_image',
|
||||||
|
'latest_version',
|
||||||
)
|
)
|
||||||
autocomplete_fields = ('team',)
|
autocomplete_fields = ('team',)
|
||||||
|
|
||||||
@ -104,6 +105,7 @@ class ExtensionAdmin(admin.ModelAdmin):
|
|||||||
'description',
|
'description',
|
||||||
('icon', 'featured_image'),
|
('icon', 'featured_image'),
|
||||||
'status',
|
'status',
|
||||||
|
'latest_version',
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user