Commit 20787b5c authored by Anton Strogonoff's avatar Anton Strogonoff Committed by Tim Graham
Browse files

Used consistent capitalization and hyphenation of "class-based views" in docs.

parent 39b55537
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -363,9 +363,9 @@ Donald Stufft

Marc Tamlyn
    Marc started life on the web using Django 1.2 back in 2010, and has never
    looked back. He was involved with rewriting the class based view
    looked back. He was involved with rewriting the class-based view
    documentation at DjangoCon EU 2012, and also helped to develop `CCBV`_, an
    additional class based view reference tool.
    additional class-based view reference tool.

    Marc is currently a full-time parent, part-time developer, and lives in
    Oxford, UK.
+1 −1
Original line number Diff line number Diff line
==============================
Built-in Class-based views API
Built-in class-based views API
==============================

Class-based views API reference. For introductory material, see the
+1 −1
Original line number Diff line number Diff line
@@ -346,7 +346,7 @@ example::
   use one of the ``add_message`` family of methods. It does not hide failures
   that may occur for other reasons.

Adding messages in Class Based Views
Adding messages in class-based views
------------------------------------

.. class:: views.SuccessMessageMixin
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ The functions defined in this module share the following properties:
    Converts a function decorator into a method decorator. It can be used to
    decorate methods or classes; in the latter case, ``name`` is the name
    of the method to be decorated and is required. See :ref:`decorating
    class based views<decorating-class-based-views>` for example usage.
    class-based views<decorating-class-based-views>` for example usage.

    .. versionchanged:: 1.9

+1 −1
Original line number Diff line number Diff line
@@ -335,7 +335,7 @@ Forms
Generic Views
^^^^^^^^^^^^^

* Class based views generated using ``as_view()`` now have ``view_class``
* Class-based views generated using ``as_view()`` now have ``view_class``
  and ``view_initkwargs`` attributes.

* :func:`~django.utils.decorators.method_decorator` can now be used to
Loading