☰
Debian Codegraph
@
1.3.0-1
1.2.0-1
/
/
tests
/
django_restframework_gis_tests
/
admin.py
☽
☼
tests/django_restframework_gis_tests/admin.py
code
plain
raw
Expat
2013-2015, Douglas Meehan <
[email protected]
>
debian/copyright
1
from django.contrib import admin
2
from django.contrib.gis.admin import ModelAdmin as GeoModelAdmin
3
4
from .models import Location
5
6
7
@admin.register(Location)
8
class LocationAdmin(GeoModelAdmin):
9
list_display = ("name", "geometry")