summaryrefslogtreecommitdiff
path: root/docs/topics/forms
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-04-01 16:10:22 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-04-01 16:10:22 +0000
commit94af19c43fad3e42d64981e22fe15b844f1f9eb6 (patch)
treeed67e78446f376d0429cbd045500540676222f78 /docs/topics/forms
parent7099d465abad0e6fd7c5ff096dc8ab55c14ecfdd (diff)
Changed e-mail to email throughout documentation and codebase. The one exception is translation strings, which I didn't want to disrupt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/forms')
-rw-r--r--docs/topics/forms/index.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
index f9aa917063..234417bf00 100644
--- a/docs/topics/forms/index.txt
+++ b/docs/topics/forms/index.txt
@@ -36,7 +36,7 @@ The library deals with these concepts:
Field
A class that is responsible for doing validation, e.g.
- an ``EmailField`` that makes sure its data is a valid e-mail address.
+ an ``EmailField`` that makes sure its data is a valid email address.
Form
A collection of fields that knows how to validate itself and
@@ -163,7 +163,7 @@ Extending the above example, here's how the form data could be processed:
send_mail(subject, message, sender, recipients)
return HttpResponseRedirect('/thanks/') # Redirect after POST
-For more on sending e-mail from Django, see :doc:`/topics/email`.
+For more on sending email from Django, see :doc:`/topics/email`.
Displaying a form using a template
----------------------------------
@@ -224,7 +224,7 @@ above example::
{{ form.non_field_errors }}
<div class="fieldWrapper">
{{ form.subject.errors }}
- <label for="id_subject">E-mail subject:</label>
+ <label for="id_subject">Email subject:</label>
{{ form.subject }}
</div>
<div class="fieldWrapper">
@@ -288,11 +288,11 @@ Within this loop, ``{{ field }}`` is an instance of :class:`BoundField`.
templates:
``{{ field.label }}``
- The label of the field, e.g. ``E-mail address``.
+ The label of the field, e.g. ``Email address``.
``{{ field.label_tag }}``
The field's label wrapped in the appropriate HTML ``<label>`` tag,
- e.g. ``<label for="id_email">E-mail address</label>``
+ e.g. ``<label for="id_email">Email address</label>``
``{{ field.html_name }}``
The name of the field that will be used in the input element's name