website/www/worldmap/admin.py

10 lines
216 B
Python
Raw Normal View History

from django.contrib import admin
from .models import EarthLocation
class EarthLocationAdmin(admin.ModelAdmin):
list_display = ("label", "html_map_link")
admin.site.register(EarthLocation, EarthLocationAdmin)