website/www/worldmap/admin.py
Ben Sturmfels 531a97a3c9
Eliminate "conservancy" and "apps" subdirectories
The directory nesting is unnecessary here and confusing to navigate. I've moved
all apps to the project subdirectory, currently called "www", but soon to be
renamed "conservancy".

I've also moved manage.py to the top-level directory.
2023-10-25 12:36:39 +11:00

9 lines
216 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)