瀏覽代碼

Removed leftover word in CBV mixins docs.

Claude Paroz 5 年之前
父節點
當前提交
d83b585e5c
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/topics/class-based-views/mixins.txt

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

@@ -474,9 +474,9 @@ Our new ``AuthorDetail`` looks like this::
             # passed in form.cleaned_data['message']
             return super().form_valid(form)
 
-``get_success_url()`` is provides somewhere to redirect to,
-which gets used in the default implementation of
-``form_valid()``. We have to provide our own ``post()`` as noted earlier.
+``get_success_url()`` provides somewhere to redirect to, which gets used
+in the default implementation of ``form_valid()``. We have to provide our
+own ``post()`` as noted earlier.
 
 A better solution
 -----------------