Files @ 86ef51db5dff
Branch filter:

Location: website/www/conservancy/apps/worldmap/admin.py

brett
Supporter page: Refactor JavaScript.

This isn't intended to have any functional change, it's just DRYing up
the code to simplify functional changes later.
1
2
3
4
5
6
7
from django.contrib import admin
from conservancy.apps.worldmap.models import EarthLocation

class EarthLocationAdmin(admin.ModelAdmin):
    list_display = ("label", "html_map_link")

admin.site.register(EarthLocation, EarthLocationAdmin)