On 6/13/07, Tai Lee <[EMAIL PROTECTED]> wrote:
>
> i'd like to see a single generic phone number field, and different
> methods attached to it that format it to the required formats. usa,
> international, including or excluding country code, using spaces or
> dashes, with or without leading zeroes, etc.
>

This can all be done with a basic CharField in the model and some
custom newforms widgets. Which brings the question, why do we even
need a PhoneNumberField at the db level? Although I suppose it helps
with the admin,  form_for_model, etc.

-- 
----
Waylan Limberg
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to