From 5695568933db9d5ee61564bce560d9dce84fdeb6 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 24 Oct 2024 17:24:55 -0700 Subject: [PATCH] Small refinement to text --- docs/ref/forms/models.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/forms/models.txt b/docs/ref/forms/models.txt index aecb6b287e..da1d63bfb5 100644 --- a/docs/ref/forms/models.txt +++ b/docs/ref/forms/models.txt @@ -230,7 +230,7 @@ effect since fields that haven't been included would never be accessed. .. attribute:: ModelFormOptions.model *Required.* A :class:`django.db.models.Model` to be used for this - :class:`~django.forms.ModelForm`. This is **not** a string. + :class:`~django.forms.ModelForm`. If no class is specified, a :exc:`ValueError` exception will be raised.