1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[1.2.X] Fixed #14023 -- include non_field_errors in example. Thanks to konryd for the report and patch.

Backport of r14041 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Simon Meers 2010-10-08 23:37:48 +00:00
parent 475fb82d98
commit 0eb8c02c6e

View File

@ -210,6 +210,7 @@ the way a form is presented using the Django template language. Extending the
above example::
<form action="/contact/" method="post">
{{ form.non_field_errors }}
<div class="fieldWrapper">
{{ form.subject.errors }}
<label for="id_subject">E-mail subject:</label>