I am looking for answer how to show map of a given GeoDjango field in the Django Admin in the read-only mode. Everything works nice, when my field is in the read-write mode (I can see interactive map), but when I add selected field to readonly_fields instead of a map I get EWKT notation
Read-write
class TestAdmin(admin.GISModelAdmin):
readonly_fields = []
I don’t think Django supports that currently. I guess it could be some option in GeoModelAdminMixin because displaying the EWKT as currently or displaying a read-only map are two valid use cases for read-only display of geometries, in my opinion.