geonode.documents.views
Attributes
Classes
Functions
|
Resolve the document by the provided primary key and check the optional permission. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- geonode.documents.views._resolve_document(request, docid, permission='base.change_resourcebase', msg=_PERMISSION_MSG_GENERIC, **kwargs)[source]
Resolve the document by the provided primary key and check the optional permission.
- class geonode.documents.views.DocumentUploadView[source]
Bases:
django.views.generic.edit.CreateView
- class geonode.documents.views.DocumentUpdateView[source]
Bases:
django.views.generic.edit.UpdateView
- geonode.documents.views.document_metadata(request, docid, template='documents/document_metadata.html', panel_template='layouts/doc_panels.html', custom_metadata=None, ajax=True)[source]