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

Add system check for missing allow_blank=True in specific serializer fields #4927

Open
vaszig opened this issue Dec 16, 2024 · 0 comments
Open
Labels
enhancement triage Issue needs to be validated. Remove this label if the issue considered valid.

Comments

@vaszig
Copy link
Contributor

vaszig commented Dec 16, 2024

We have seen a lot these days (issues #4853 and #4899) that some serializer fields give an error when empty strings are being received from the frontend. It would be nice if we have a system check for this kind of problems and warn the developer about the potential error.

@vaszig vaszig added triage Issue needs to be validated. Remove this label if the issue considered valid. enhancement labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triage Issue needs to be validated. Remove this label if the issue considered valid.
Projects
None yet
Development

No branches or pull requests

1 participant