Files @ b85565d10423
Branch filter:

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

eximious
add copyleftconf2 pic
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)