Comment 1 for bug 1861224

Revision history for this message
Orestes Leal Rodriguez (orestesleal) wrote :

I'm starting to think that it's the clean method from CharField() from django

Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from django import forms
>>> f = forms.CharField()
>>> f.clean("hello ")
'hello'

As it can be seen it removed the trailing space. I believe horizon should redefine clean which I think they don't and it gets inherited.