geonode.geoapps.views

Attributes

logger

_PERMISSION_MSG_DELETE

_PERMISSION_MSG_GENERIC

_PERMISSION_MSG_LOGIN

_PERMISSION_MSG_SAVE

_PERMISSION_MSG_METADATA

_PERMISSION_MSG_VIEW

_PERMISSION_MSG_UNKNOWN

Functions

_resolve_geoapp(request, id[, permission, msg])

Resolve the GeoApp by the provided typename and check the optional permission.

new_geoapp(request[, template])

geoapp_edit(request, geoappid[, template])

The view that returns the app composer opened to the app with the given app ID.

geoapp_metadata_detail(request, geoappid[, template, ...])

geoapp_metadata(request, geoappid[, template, ajax, ...])

geoapp_metadata_advanced(request, geoappid)

Module Contents

geonode.geoapps.views.logger[source]
geonode.geoapps.views._PERMISSION_MSG_DELETE[source]
geonode.geoapps.views._PERMISSION_MSG_GENERIC[source]
geonode.geoapps.views._PERMISSION_MSG_LOGIN[source]
geonode.geoapps.views._PERMISSION_MSG_SAVE[source]
geonode.geoapps.views._PERMISSION_MSG_METADATA[source]
geonode.geoapps.views._PERMISSION_MSG_VIEW[source]
geonode.geoapps.views._PERMISSION_MSG_UNKNOWN[source]
geonode.geoapps.views._resolve_geoapp(request, id, permission='base.change_resourcebase', msg=_PERMISSION_MSG_GENERIC, **kwargs)[source]

Resolve the GeoApp by the provided typename and check the optional permission.

geonode.geoapps.views.new_geoapp(request, template='apps/app_new.html')[source]
geonode.geoapps.views.geoapp_edit(request, geoappid, template='apps/app_edit.html')[source]

The view that returns the app composer opened to the app with the given app ID.

geonode.geoapps.views.geoapp_metadata_detail(request, geoappid, template='apps/app_metadata_detail.html', custom_metadata=None)[source]
geonode.geoapps.views.geoapp_metadata(request, geoappid, template='apps/app_metadata.html', ajax=True, panel_template='layouts/app_panels.html', custom_metadata=None)[source]
geonode.geoapps.views.geoapp_metadata_advanced(request, geoappid)[source]