In [1]: x = '1234'
In [2]: x.isdigit()
Out[2]: True
--
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...@goog
Hi all,
I have a model snippet that I wanna use to store phonenumbers:
e_mail = models.EmailField()
phone = models.CharField(max_length=15)
Mobile numbers in my country are 11digit numbers e.g 080,
Fixed Lines: (2 digit),7 digit e.g (01)755
I wanna try and validate this field on
2 matches
Mail list logo