geonode.maps.api.views

Attributes

logger

Classes

MapViewSet

API endpoint that allows maps to be viewed or edited.

Module Contents

geonode.maps.api.views.logger[source]
class geonode.maps.api.views.MapViewSet[source]

Bases: dynamic_rest.viewsets.DynamicModelViewSet

API endpoint that allows maps to be viewed or edited.

http_method_names = ['get', 'patch', 'post', 'put'][source]
authentication_classes[source]
permission_classes[source]
filter_backends[source]
queryset[source]
serializer_class[source]
pagination_class[source]
list(request, *args, **kwargs)[source]
update(request, *args, **kwargs)[source]

Changes in the m2m maplayers are committed before object changes. To protect the db, this action is done within an atomic tansation.

create(request, *args, **kwargs)[source]

Changes in the m2m maplayers are committed before object changes. To protect the db, this action is done within an atomic tansation.

maplayers(request, pk=None, *args, **kwargs)[source]
datasets(request, pk=None, *args, **kwargs)[source]
perform_create(serializer)[source]
perform_update(serializer)[source]
_post_change_routines(instance: geonode.maps.models.Map, create_action_perfomed: bool, additional_data: dict)[source]