Skip to content

Using GeoFeatureModelSerializer with files #278

@hvitis

Description

@hvitis

Hello

I was wondering if there is a possibility / example of using GeoFeatureModelSerializer with a model that has an image field.
I am trying to do it in a single request using

parser_classes = [MultiPartParser, JSONParser ]

It works with different models, there creation is easy and possible, retaining all fields passed plus the file.

Is it possible with the serializer above? What should be added / changed if so?

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