diff --git a/postcodes/admin.py b/postcodes/admin.py index 981347b..6d8b1e5 100644 --- a/postcodes/admin.py +++ b/postcodes/admin.py @@ -3,11 +3,11 @@ from postcodes.models import Postcode, PostcodeConcordance -@admin.register(Postcode) -class PostcodeAdmin(admin.OSMGeoAdmin): - list_display = ('code', 'city', 'province') - - @admin.register(PostcodeConcordance) class PostcodeConcordanceAdmin(admin.ModelAdmin): list_display = ('code', 'boundary', 'source') + + +@admin.register(Postcode) +class PostcodeAdmin(admin.OSMGeoAdmin): + list_display = ('code', 'city', 'province')