geonode.maps.admin ================== .. py:module:: geonode.maps.admin Classes ------- .. autoapisummary:: geonode.maps.admin.MapLayerInline geonode.maps.admin.MapAdminForm geonode.maps.admin.MapAdmin geonode.maps.admin.MapLayerAdmin Module Contents --------------- .. py:class:: MapLayerInline Bases: :py:obj:`django.contrib.admin.TabularInline` .. py:attribute:: model .. py:attribute:: ordering :value: ('dataset_id',) .. py:attribute:: autocomplete_fields :value: ('dataset',) .. py:attribute:: show_change_link :value: True .. py:class:: MapAdminForm Bases: :py:obj:`geonode.base.admin.ResourceBaseAdminForm` .. py:class:: Meta Bases: :py:obj:`geonode.base.admin.ResourceBaseAdminForm.Meta` .. py:attribute:: model .. py:attribute:: fields :value: '__all__' .. py:class:: MapAdmin Bases: :py:obj:`modeltranslation.admin.TabbedTranslationAdmin` .. py:attribute:: inlines .. py:attribute:: exclude :value: ('ll_bbox_polygon', 'bbox_polygon', 'srid') .. py:attribute:: list_display_links :value: ('title',) .. py:attribute:: list_display :value: ('id', 'title', 'owner', 'category', 'group', 'is_approved', 'is_published', 'featured') .. py:attribute:: list_editable :value: ('owner', 'category', 'group', 'is_approved', 'is_published', 'featured') .. py:attribute:: list_filter :value: ('owner', 'category', 'group', 'featured', 'is_approved', 'is_published') .. py:attribute:: search_fields :value: ('title', 'abstract', 'purpose', 'is_approved', 'is_published') .. py:attribute:: readonly_fields :value: ('geographic_bounding_box',) .. py:attribute:: form .. py:attribute:: actions .. py:method:: delete_queryset(request, queryset) We need to invoke the 'ResourceBase.delete' method even when deleting through the admin batch action .. py:class:: MapLayerAdmin Bases: :py:obj:`django.contrib.admin.ModelAdmin` .. py:attribute:: list_display :value: ('id', 'map', 'name') .. py:attribute:: list_filter :value: ('map',) .. py:attribute:: search_fields :value: ('map__title', 'name') .. py:attribute:: autocomplete_fields :value: ('dataset',) .. py:attribute:: form