From 3c8d6b95e61767fa72bff0cc8d91ba577bed5ecf Mon Sep 17 00:00:00 2001 From: cho-leukeleu Date: Wed, 8 Nov 2017 11:51:51 +0100 Subject: [PATCH] Fix example use with Django form Add error anyways --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 74bd766..dc2cd14 100644 --- a/README.rst +++ b/README.rst @@ -314,7 +314,7 @@ Django forms will return only required address fields in ``form.cleaned_data`` d msg = 'Invalid value, use fomat like %s' % examples else: msg = ERROR_MESSAGES[error_code] - self.add_error(field, msg) + self.add_error(field, msg) return valid_address or clean_data