Ben Sturmfels
b7e2ce2a4d
The relative imports make it clearer what code is within the project and where it's coming from.
9 lines
216 B
Python
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)
|