django-taggit-serializer icon indicating copy to clipboard operation
django-taggit-serializer copied to clipboard

Trim tag names

Open sanjioh opened this issue 7 years ago • 0 comments

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!

sanjioh avatar Apr 21 '17 13:04 sanjioh