geonode.upload.views

Provide views for doing an upload.

The upload process may be multi step so views are all handled internally here by the view function.

The pattern to support separation of view/logic is each step in the upload process is suffixed with “_step”. The view for that step is suffixed with “_step_view”. The goal of separation of view/logic is to support various programmatic uses of this API. The logic steps should not accept request objects or return response objects.

State is stored in a UploaderSession object stored in the user’s session. This needs to be made more stateful by adding a model.

Attributes

logger

Functions

delete(req, id)

Module Contents

geonode.upload.views.logger[source]
geonode.upload.views.delete(req, id)[source]