geonode.maps.api.views
Attributes
Classes
API endpoint that allows maps to be viewed or edited. |
Module Contents
- class geonode.maps.api.views.MapViewSet[source]
Bases:
dynamic_rest.viewsets.DynamicModelViewSetAPI endpoint that allows maps to be viewed or edited.
- 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.
- _post_change_routines(instance: geonode.maps.models.Map, create_action_perfomed: bool, additional_data: dict)[source]