Django < 1.9 doesn't support a strip argument to the CharField constructor, but *I think* behavior is as in 1.9 with strip=False.
This is admittedly a kludge and there may be a better way. I considered overriding CharField.to_python(), but this seems simpler.
1 parent 9217ed3 commit a085efb731edc19cd183a7767597d53182747e98
@Mark Sapiro Mark Sapiro authored on 6 Jul 2016
Showing 1 changed file
View
src/postorius/forms.py