Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Trim tag names #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Trim tag names #37

wants to merge 2 commits into from

Conversation

sanjioh
Copy link

@sanjioh sanjioh commented Apr 21, 2017

Hi,

this PR implements leading/trailing whitespace trimming of tag names in TagListSerializerField.
This prevents issues with databases that ignore trailing whitespaces during comparisons (i.e. MySQL 5.x).
Please note that my implementation changes the current default behaviour in this regard.
Let me know if I need to change anything.

Thanks for your work on this library!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant