Ticket #18245: ticket18245.diff

File ticket18245.diff, 945 bytes (added by mateusgondim, 12 years ago)

Both descriptions updated.

  • docs/ref/class-based-views.txt

    diff --git a/docs/ref/class-based-views.txt b/docs/ref/class-based-views.txt
    index b3f6b19..c480f64 100644
    a b MonthArchiveView  
    12131213    * ``month``: A ``datetime.date`` object representing the given month.
    12141214
    12151215    * ``next_month``: A ``datetime.date`` object representing the first day
    1216       of the next month. If the next month is in the future, this will be
    1217       ``None``.
     1216      of the next month. If the next month is in the future or if there is no
     1217      object in the future and ``allow_empty = False``, this will be ``None``.
    12181218
    12191219    * ``previous_month``: A ``datetime.date`` object representing the first
    1220       day of the previous month. Unlike ``next_month``, this will never be
    1221       ``None``.
     1220      day of the previous month. If there is no object in the past and
     1221      ``allow_empty = False``, this will be ``None``.
    12221222
    12231223    **Notes**
    12241224
Back to Top