On Mon, Jan 5, 2009 at 5:33 PM, DragonSlayre <lssay...@gmail.com> wrote:

>
> http://docs.djangoproject.com/en/dev/topics/forms/modelforms/
>
> This lists PhoneNumberField as being a field type, but in the models
> documentation,
> http://docs.djangoproject.com/en/dev/ref/models/fields/#ref-models-fields
> there is no such field.
>
> Does anybody know if this field exists? I'd quite like to use it.


It's in the US localflavor, just as the associated formfield is:

http://docs.djangoproject.com/en/dev/ref/contrib/localflavor/#django.contrib.localflavor.us.models.PhoneNumberField

(Moving that and the US state field out of the general fields and into the
appropriate localflavor looks to have been a fairly late fixup for 1.0,
which is probably why mention of it is leftover in the general docs.)

Karen

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

Reply via email to