mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed versionadded/changed annotations for 1.8.
This commit is contained in:
@@ -615,10 +615,6 @@ errors. For example, ``{{ form.non_field_errors }}`` would look like:
|
||||
<li>Generic validation error</li>
|
||||
</ul>
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The ``nonfield`` class as described in the example above was added.
|
||||
|
||||
See :doc:`/ref/forms/api` for more on errors, styling, and working with form
|
||||
attributes in templates.
|
||||
|
||||
|
||||
@@ -436,12 +436,6 @@ In addition, Django applies the following rule: if you set ``editable=False`` on
|
||||
the model field, *any* form created from the model via ``ModelForm`` will not
|
||||
include that field.
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
In older versions, omitting both ``fields`` and ``exclude`` resulted in
|
||||
a form with all the model's fields. Doing this now raises an
|
||||
:exc:`~django.core.exceptions.ImproperlyConfigured` exception.
|
||||
|
||||
.. note::
|
||||
|
||||
Any fields not included in a form by the above logic
|
||||
@@ -745,12 +739,6 @@ exclude::
|
||||
|
||||
>>> AuthorFormSet = modelformset_factory(Author, exclude=('birth_date',))
|
||||
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
In older versions, omitting both ``fields`` and ``exclude`` resulted in
|
||||
a formset with all the model's fields. Doing this now raises an
|
||||
:exc:`~django.core.exceptions.ImproperlyConfigured` exception.
|
||||
|
||||
This will create a formset that is capable of working with the data associated
|
||||
with the ``Author`` model. It works just like a regular formset::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user