Ticket #14780: fix-quoting-in-class-based-view-ref.diff

File fix-quoting-in-class-based-view-ref.diff, 2.7 KB (added by Adam Vandenberg, 13 years ago)
  • docs/ref/class-based-views.txt

    diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
    index ada25a6..758763f 100644
    a b ModelFormMixin  
    466466
    467467    Since this is a subclass of
    468468    :class:`~django.views.generic.detail.SingleObjectMixin`, instances of this
    469     mixin have access to the :attr:`~SingleObjectMixin.model`` and
    470     :attr:`~SingleObjectMixin.queryset`` attributes, describing the type of
     469    mixin have access to the :attr:`~SingleObjectMixin.model` and
     470    :attr:`~SingleObjectMixin.queryset` attributes, describing the type of
    471471    object that the ModelForm is manipulating. The view also provides
    472472    ``self.object``, the instance being manipulated. If the instance is being
    473473    created, ``self.object`` will be ``None``
    ModelFormMixin  
    486486        Retrieve the form class to instantiate. If
    487487        :attr:`FormMixin.form_class` is provided, that class will be used.
    488488        Otherwise, a ModelForm will be instantiated using the model associated
    489         with the :attr:`~SingleObjectMixin.queryset``, or with the
    490         :attr:`~SingleObjectMixin.model``, depending on which attribute is
     489        with the :attr:`~SingleObjectMixin.queryset`, or with the
     490        :attr:`~SingleObjectMixin.model`, depending on which attribute is
    491491        provided.
    492492
    493493    .. method:: get_form(form_class)
    MonthMixin  
    624624    .. method:: get_next_month(date)
    625625
    626626        Returns a date object containing the first day of the month after the
    627         date provided. Returns `None`` if mixed with a view that sets
     627        date provided. Returns ``None`` if mixed with a view that sets
    628628        ``allow_future = False``, and the next month is in the future. If
    629629        ``allow_empty = False``, returns the next month that contains data.
    630630
    DayMixin  
    670670    .. method:: get_next_day(date)
    671671
    672672        Returns a date object containing the next day after the date provided.
    673         Returns `None`` if mixed with a view that sets ``allow_future = False``,
     673        Returns ``None`` if mixed with a view that sets ``allow_future = False``,
    674674        and the next day is in the future. If ``allow_empty = False``, returns
    675675        the next day that contains data.
    676676
    BaseDateListView  
    792792        Returns the list of dates of type ``date_type`` for which
    793793        ``queryset`` contains entries. For example, ``get_date_list(qs,
    794794        'year')`` will return the list of years for which ``qs`` has entries.
    795         See :meth:``~django.db.models.QuerySet.dates()` for the
     795        See :meth:`~django.db.models.QuerySet.dates()` for the
    796796        ways that the ``date_type`` argument can be used.
    797797
    798798
Back to Top