Skip to content

Fix #9750: Respect blank=True on model CharField in serializer#9945

Closed
MuraveyApp wants to merge 1 commit intoencode:mainfrom
MuraveyApp:fix/9750-blank-field-required
Closed

Fix #9750: Respect blank=True on model CharField in serializer#9945
MuraveyApp wants to merge 1 commit intoencode:mainfrom
MuraveyApp:fix/9750-blank-field-required

Conversation

@MuraveyApp
Copy link
Copy Markdown

Summary

  • Fixes 3.15 raising required error on model CharField with blank=True
  • Serializer now respects the model field blank=True setting

Test plan

  • Verify CharField(blank=True) does not raise 'This field is required'
  • Existing test suite passes

Generated by OwlMind

@browniebroke
Copy link
Copy Markdown
Member

Please direct your AI agent a bit more before sending this for code review. This will at least need a few tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants