stevencoding / django-basic-apps

Automatically exported from code.google.com/p/django-basic-apps
0 stars 0 forks source link

Phone Number validates only against US #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a phone number using correct notation for a country other than
the USA. Ie, in Australia 03 9999 9999
2. Validation fails

What is the expected output? What do you see instead?

Validation should succeed because Australia is chosen as the country for
the place.

What version of the product are you using? On what operating system?

trunk

Please provide any additional information below.

This is occuring because of
http://code.google.com/p/django-basic-apps/source/browse/trunk/places/models.py#
4

I think that possibly a custom field needs to be created call PhoneNumber
which is country aware (this is something that I think should really be in
localflavor anyway).

Original issue reported on code.google.com by youtube%...@gtempaccount.com on 21 Jun 2009 at 4:07

GoogleCodeExporter commented 8 years ago
Sorry, logged in as the wrong user, commenting on this issue so I can receive 
email
updates to an email address I actually check.

Original comment by alex%alu...@gtempaccount.com on 21 Jun 2009 at 4:11