7 lines
213 B
Python
7 lines
213 B
Python
from django.contrib import admin
|
|
from models import EarthLocation
|
|
|
|
class EarthLocationAdmin(admin.ModelAdmin):
|
|
list_display = ("label", "html_map_link")
|
|
|
|
admin.site.register(EarthLocation, EarthLocationAdmin)
|