I would like to add a default derived field to ModelAdmin.fieldsets, as I would by specifying a method and adding it to the ModelAdmin.list_display property, but there seems to be no easy way to do this (if there is ANY way to do this).
In the default Django list view, there seem to be a lot more options than the form of the change form.
Say I have two fields for a location: latitude and longitude, and instead of displaying them in a change form, I want to display an image of a static Google Maps map instead. I already have a method that will return the url src for the image - I just need a way to add this image to the model change form, and not show these two fields.
source
share