#14608: Adding a INPhoneNumberField to indian localflavor
---------------------------------------+-----------------------------------
Reporter: lawgon | Owner: lawgon
Type: New feature | Status: reopened
Milestone: | Component: contrib.localflavor
Version: SVN | Severity: Normal
Resolution: | Keywords: india phone
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 |
---------------------------------------+-----------------------------------
Comment (by lawgon):
I am unable to fix this. Import of INPhoneNumberField into a form works as
advertised. I also tried with a single line re (without VERBOSE) but the
same re error comes up in the tests. Finally I tried with a very simple re
- r'\d*'. This works. My conclusion is that in testing, an re beyond a
certain length (or maybe beyond a certain level of complexity) will cause
a syntax error although the same works in django itself. This is beyond my
competence to correct. Should I file a bug?
--
Ticket URL: <http://code.djangoproject.com/ticket/14608#comment:25>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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/django-updates?hl=en.