I've opened a ticket and submitted a patch that fixes this strange oversight: http://code.djangoproject.com/ticket/12613
Thanks! - Gabriel On Jan 14, 5:05 am, Harro <hvdkl...@gmail.com> wrote: > hmm that's indeed weird. The regex excludes those as well > specifically. > The Q and Z should be added or a comment should be added to the code > explaining the reason for leaving them out. > > On Jan 14, 11:23 am, Gabriel Hurley <gab...@gmail.com> wrote: > > > > > 1. Is there a reason Django's phone2numeric method doesn't work for > > the letters Q or Z? I realize that those two letters are the ones that > > share four letters to a number instead of the standard three, but > > that's no reason to leave them out. Most modern phones include the > > full alphabet on their keys and it's silly not to let people convert > > those two letters. > > > If there's no reason, I'd be happy to submit a patch since it's such > > an easy fix. > > > 2. I was also wondering if there's a reason that the dictionary of > > numbers/letters used in that function is in such a seemingly random > > order... is there some brilliant logic behind it? > > > The source for the function I'm referring to is here: > > >http://code.djangoproject.com/browser/django/trunk/django/utils/text.... > > > Thanks! > > > - Gabriel
-- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.