Added IpField and little fixes in basic fields
This commit is contained in:
parent
863a592210
commit
6bb7a1e863
3 changed files with 20 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ class EmailField(CharField):
|
|||
if not mail_pattern.match(value):
|
||||
|
||||
self.error=True
|
||||
value=""
|
||||
self.txt_error='No valid format'
|
||||
|
||||
return value
|
||||
Loading…
Add table
Add a link
Reference in a new issue