Ticket #20980: generic_dates_MRO_fix.patch

File generic_dates_MRO_fix.patch, 485 bytes (added by django@…, 11 years ago)

Patch

  • django/views/generic/dates.py

    diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py
    index e1b0eb9..3798529 100644
    a b class DateMixin(object):  
    322322            return {date_field: date}
    323323
    324324
    325 class BaseDateListView(MultipleObjectMixin, DateMixin, View):
     325class BaseDateListView(DateMixin, MultipleObjectMixin, View):
    326326    """
    327327    Abstract base class for date-based views displaying a list of objects.
    328328    """
Back to Top