Skip to content

How to add validators to BlobField #61

@morphogencc

Description

@morphogencc

Support request

About me

Hello! I'm using django to make the backend for science museum installations. I use django to manage data, allow museum staff to make updates to multimedia on the museum floor, and ultimately provide the backend for visitor-facing multimedia experiences.

Request

  • I've searched the list of existing issues
  • I expected the docs to cover it in this section but they don't cover it.

I'm trying to identify how I can add validators to BlobField for GCP storage. I'd love to be able to validate file types and, if the underlying data is multimedia, check image or video dimensions. The documentation doesn't make it clear how I could control what type of Blobs are uploaded.

Supporting Octue

Octue is an Open-Source Software organisation helping you and many others to fight climate change. Providing support for your issues costs us c. 500GBP/day. Might your organisation be in a position to help sponsor this issue?

  • We already are (eg via technical partnership or GitHub Sponsors )
  • Yes (we'll prioritise this issue, and be in touch)
  • No (we'll work on this issue as and when it aligns with our core development activity)

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