Skip to content

Commit

Permalink
Replace GeoModelAdmin with GISModelAdmin in admin (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoMaurizzi authored May 16, 2024
1 parent 48e97e7 commit 88aca99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osmflex/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Register your models here.


class OsmFlexAdmin(admin.GeoModelAdmin): # type: ignore
class OsmFlexAdmin(admin.GISModelAdmin): # type: ignore
search_fields = ("name",)
list_display = ("osm_id", "osm_type", "name")
list_filter = ("osm_type",)
Expand Down Expand Up @@ -211,7 +211,7 @@ class TrafficPolygonAdmin(OsmFlexAdmin):


@admin.register(models.Unitable)
class UnitableAdmin(admin.GeoModelAdmin): # type: ignore
class UnitableAdmin(admin.GISModelAdmin): # type: ignore
...


Expand Down

0 comments on commit 88aca99

Please sign in to comment.