[Answered ]-How to enable Street View in GeoDjango

1👍

You can make use of the built-in OSMGeoAdmin admin class which will give the street-view in Django Admin.

#admin.py
from django.contrib.gis import admin as geo_admin


class LocationModelAdmin(geo_admin.OSMGeoAdmin):
    list_display = ("id", "name",)
    list_display_links = ("id", "name",)
👤JPG

Leave a comment