summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-02-08 10:10:28 -0500
committerGitHub <noreply@github.com>2018-02-08 10:10:28 -0500
commitff61a250815d32ff185501a5afef0245fec7d878 (patch)
tree008951a0c32a6b8dda46040b12ab8b47955e6c48 /docs
parentd61fe246015aa4fdc6dcb837ffb1442fa71ae586 (diff)
Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/index.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
index 71d5a37ed9..173bcb1942 100644
--- a/docs/topics/forms/index.txt
+++ b/docs/topics/forms/index.txt
@@ -370,9 +370,11 @@ ready to learn a bit more about the underlying machinery.
More about Django :class:`Form` classes
=======================================
-All form classes are created as subclasses of :class:`django.forms.Form`,
-including the :doc:`ModelForm </topics/forms/modelforms>`, which you encounter
-in Django's admin.
+All form classes are created as subclasses of either :class:`django.forms.Form`
+or :class:`django.forms.ModelForm`. You can think of ``ModelForm`` as a
+subclass of ``Form``. ``Form`` and ``ModelForm`` actually inherit common
+functionality from a (private) ``BaseForm`` class, but this implementation
+detail is rarely important.
.. admonition:: Models and Forms