Make RegexField work with unicode characters
|Reported by:||julien||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently RegexField won't work with unicode characters. So for example it's not possible to have a username containing unicode characters using the contrib.auth forms.
It's a really simple fix (see pull request below) but I'm not sure if this is risky or potentially backwards compatible. If so then perhaps one could consider adding a new UnicodeRegexField class?
Change History (6)
comment:5 Changed 3 years ago by Julien Phalip <jphalip@…>
- Resolution set to fixed
- Status changed from new to closed