# generated by appcreator
from django.contrib import admin
from gn_places.models import (
    GeoNamesPlace
)


@admin.register(GeoNamesPlace)
class GeoNamesPlaceAdmin(admin.ModelAdmin):
    list_display = (
        'gn_id',
        'gn_name',
        'gn_country_code',
        'gn_feature_class',
        'gn_feature_code',
        'gn_feature',
        'gn_long',
        'gn_lat',
    )
    list_filter = (
        'gn_feature_class',
        'gn_feature_code',
    )
    search_fields = [
        'gn_name',
    ]
