Преглед на файлове

Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.

Tim Graham преди 7 години
родител
ревизия
fc13a697b4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/ref/class-based-views/mixins-single-object.txt

+ 1 - 1
docs/ref/class-based-views/mixins-single-object.txt

@@ -100,7 +100,7 @@ Single object mixins
 
     .. method:: get_context_data(**kwargs)
 
-        Returns context data for displaying the list of objects.
+        Returns context data for displaying the object.
 
         The base implementation of this method requires that the ``self.object``
         attribute be set by the view (even if ``None``). Be sure to do this if