Closed clarkmoody closed 4 years ago
In Django 3, the UserCreationForm contains the error message
The two password fields didn’t match
(with a non-ASCII ’
character)
To check for that message, the ’ character needs to be in tests/forms.py. But then tox / lint fails with a non-ASCII error for Python 2, even when using # coding = utf-8
.
Do you know a way to fix the code to pass that test for Python 2? (It should not matter at all, since Django 3 doesn't even run on Python 2)
I don't think this is the approach we should take. I'm thinking conditional import and a noop on the decorator if not required.
closing in favor of https://github.com/macropin/django-registration/pull/373
Fixes #371