Browse Source

Fixed typo in docs/topics/class-based-views/mixins.txt.

amirsoroush 2 years ago
parent
commit
6087bc4e15
1 changed files with 5 additions and 5 deletions
  1. 5 5
      docs/topics/class-based-views/mixins.txt

+ 5 - 5
docs/topics/class-based-views/mixins.txt

@@ -538,11 +538,11 @@ write our own ``get_context_data()`` to make the
             context["form"] = AuthorInterestForm()
             return context
 
-Then the ``AuthorInterestForm`` is a :class:`FormView`, but we have to bring in
-:class:`~django.views.generic.detail.SingleObjectMixin` so we can find the
-author we're talking about, and we have to remember to set ``template_name`` to
-ensure that form errors will render the same template as ``AuthorDetailView``
-is using on ``GET``::
+Then the ``AuthorInterestFormView`` is a :class:`FormView`, but we have to
+bring in :class:`~django.views.generic.detail.SingleObjectMixin` so we can find
+the author we're talking about, and we have to remember to set
+``template_name`` to ensure that form errors will render the same template as
+``AuthorDetailView`` is using on ``GET``::
 
     from django.http import HttpResponseForbidden
     from django.urls import reverse