From 9a279edc1cedecc65249b061bcb2797fe509a85b Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 1 Apr 2011 16:18:23 +0000 Subject: Fixed some ReST errors from e-mail -> email change in docs, and changed some docs that shouldn't have been changed (because translation strings haven't been converted yet) git-svn-id: http://code.djangoproject.com/svn/django/trunk@15968 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/forms/api.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/ref/forms/api.txt') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index bd8948cc08..070f9ef19a 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -105,7 +105,7 @@ Access the :attr:`~Form.errors` attribute to get a dictionary of error messages:: >>> f.errors - {'sender': [u'Enter a valid email address.'], 'subject': [u'This field is required.']} + {'sender': [u'Enter a valid e-mail address.'], 'subject': [u'This field is required.']} In this dictionary, the keys are the field names, and the values are lists of Unicode strings representing the error messages. The error messages are stored @@ -537,18 +537,18 @@ method you're using:: >>> print f.as_table() Subject: Message: - Sender: + Sender: Cc myself: >>> print f.as_ul()
  • Subject:
  • Message:
  • -
  • Sender:
  • +
  • Sender:
  • Cc myself:
  • >>> print f.as_p()

    Subject:

    Message:

    -

    +

    Sender:

    Cc myself:

    @@ -571,7 +571,7 @@ pass that in at construction time::
    This field is required.

    Subject:

    Message:

    -
    Enter a valid email address.
    +
    Enter a valid e-mail address.

    Sender:

    Cc myself:

    -- cgit v1.3