gavo.web.uploadservice module

Renderers supporting upload cores.

class gavo.web.uploadservice.MachineUploader(request, service)[source]

Bases: Uploader

A renderer allowing for updates to individual records using file uploads.

The difference to Uploader is that no form-redisplay will be done. All errors are reported through HTTP response codes and text strings. It is likely that this renderer will change and/or go away.

name = 'mupload'
class gavo.web.uploadservice.Uploader(request, service)[source]

Bases: FormRenderer

A renderer allowing for updates to individual records using file upload.

This renderer exposes a form with a file widget. It is likely that the interface will change.

loader = <twisted.web._template_util.TagLoader object>
name = 'upload'
uploadInfo(request, tag)[source]