diff -rupN django.orig/views/generic/dates.py django/views/generic/dates.py
old
|
new
|
class BaseDateDetailView(YearMixin, Mont
|
644 | 644 | day, self.get_day_format()) |
645 | 645 | |
646 | 646 | # Use a custom queryset if provided |
647 | | qs = queryset or self.get_queryset() |
| 647 | qs = self.get_queryset() if queryset is None else queryset |
648 | 648 | |
649 | 649 | if not self.get_allow_future() and date > datetime.date.today(): |
650 | 650 | raise Http404(_("Future %(verbose_name_plural)s not available because %(class_name)s.allow_future is False.") % { |