From c79faae761659d51d58782dbd2b8058fb4668cfa Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 26 Jan 2015 15:39:52 -0500 Subject: Removed versionadded/changed notes for 1.7. --- docs/ref/forms/api.txt | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'docs/ref/forms/api.txt') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 44987ab98c..ec50f02d42 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -125,8 +125,6 @@ if validation has side effects, those side effects will only be triggered once. .. method:: Form.errors.as_data() -.. versionadded:: 1.7 - Returns a ``dict`` that maps fields to their original ``ValidationError`` instances. @@ -150,8 +148,6 @@ messages in ``Form.errors``. .. method:: Form.errors.as_json(escape_html=False) -.. versionadded:: 1.7 - Returns the errors serialized as JSON. >>> f.errors.as_json() @@ -171,8 +167,6 @@ directly in HTML. .. method:: Form.add_error(field, error) -.. versionadded:: 1.7 - This method allows adding errors to specific fields from within the ``Form.clean()`` method, or from outside the form altogether; for instance from a view. @@ -762,10 +756,6 @@ Python 2)::

Sender:

Cc myself:

-.. versionchanged:: 1.7 - - ``django.forms.util`` was renamed to ``django.forms.utils``. - More granular output ~~~~~~~~~~~~~~~~~~~~ @@ -1017,10 +1007,8 @@ classes::
  • Instrument:
  • Haircut type:
  • -.. versionadded:: 1.7 - -* It's possible to declaratively remove a ``Field`` inherited from a parent - class by setting the name to be ``None`` on the subclass. For example:: +It's possible to declaratively remove a ``Field`` inherited from a parent class +by setting the name to be ``None`` on the subclass. For example:: >>> from django import forms -- cgit v1.3