Browse Source

Added versionadded directive missing from b7bd708.

Aymeric Augustin 11 năm trước cách đây
mục cha
commit
5ed7ec99b6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      docs/ref/class-based-views/base.txt

+ 2 - 0
docs/ref/class-based-views/base.txt

@@ -222,6 +222,8 @@ RedirectView
 
     .. attribute:: pattern_name
 
+        .. versionadded:: 1.6
+
         The name of the URL pattern to redirect to. Reversing will be done
         using the same args and kwargs as are passed in for this view.