I'm trying to change my pinax installation to support Hebrew usernames
and If I won't get help, I'm going to solve it with a very dirty hack.
Pinax account app uses r'^\w+$' to validate the username, which
obviously fails. I've tried compiling the re so it's locale sensitive
- alnum_re = re.compile(r'^\w+$', re.L) - but that didn't help as
Django does not set the locale for me. I set the locale myself  -
locale.setlocale(locale.LC_ALL, 'he_IL.UTF-8') - but that didn't help
either.
Any ideas?

benny.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyWeb-IL" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyweb-il?hl=en
-~----------~----~----~----~------~----~------~--~---

_______________________________________________
Python-il mailing list
[email protected]
http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il

לענות