I'm adding a phone number field to the EmailUserCreationForm I just added a PhoneNumberField to my user model like this :
phone_number = PhoneNumberField(default = "555-555-1212")
then i added the field to EmailUserCreationForm to make it required in the registration form like this :
phone_number = forms.CharField(label=_('Phone Number'))
and then in meta:
fields = ('phone_number')
everything shows up fine in the form but the phone number will only validate if it has a "+" in front of the number. So "
213-555-1212" won't validate,
but "
+1-213-555-1212" will validate. Can anyone tell me how to get this to work without the +1 ? Am I missing a country setting in my settings file or something ?