From 9a279edc1cedecc65249b061bcb2797fe509a85b Mon Sep 17 00:00:00 2001
From: Adrian Holovaty Subject:
- Message:
+ Sender: Sender:
>>> print f.as_ul()
Cc myself:
Subject:
Sender:
Sender:
Subject:
Message:
-Sender:
Cc myself:
@@ -571,7 +571,7 @@ pass that in at construction time::Subject:
Message:
-Sender:
Cc myself:
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 73d8b02869..338a80655e 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -30,7 +30,7 @@ exception or returns the clean value:: >>> f.clean('invalid email address') Traceback (most recent call last): ... - ValidationError: [u'Enter a valid email address.'] + ValidationError: [u'Enter a valid e-mail address.'] Core field arguments -------------------- diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index d8f896deb2..23aa27d985 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -187,7 +187,7 @@ a look at Django's ``EmailField``:: class EmailField(CharField): default_error_messages = { - 'invalid': _(u'Enter a valid email address.'), + 'invalid': _(u'Enter a valid e-mail address.'), } default_validators = [validators.validate_email] @@ -200,7 +200,7 @@ on field definition so:: is equivalent to:: email = forms.CharField(validators=[validators.validate_email], - error_messages={'invalid': _(u'Enter a valid email address.')}) + error_messages={'invalid': _(u'Enter a valid e-mail address.')}) Form field default cleaning diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index bd11d2a4b8..2a13736b82 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -305,7 +305,7 @@ A couple of tips to remember when writing your own template tags and filters: strings at that point. Email -====== +===== Django's email framework (in ``django.core.mail``) supports Unicode transparently. You can use Unicode data in the message bodies and any headers. -- cgit v1.3