Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: OpenAPI spec shows S3FileFields as read-only #234

Open
zachmullen opened this issue Jul 8, 2021 · 0 comments
Open

Bug: OpenAPI spec shows S3FileFields as read-only #234

zachmullen opened this issue Jul 8, 2021 · 0 comments

Comments

@zachmullen
Copy link
Contributor

To reproduce, use a DRF ModelSerializer subclass with a model containing an S3FileField. Add the file field name to the Meta.fields value, then use the serializer in a ModelViewSet.

Go to the swagger page and show the POST (create) method for the model. The S3FF field will be listed as "readonly".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant