Skip to content

Form with dbio=False storing upload in folder #872

Open
@KabluBR

Description

@KabluBR

Example:

form = Form(
db.attach,
dbio=False
)

db.define_table('attach',
Field('file', 'upload', notnull=True, autodelete=True))

when you create the form this way, it not stores data on db but still writes the image in upload folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions