diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py index b3f5d9df3e4..8df5c338e2f 100644 --- a/django/views/generic/dates.py +++ b/django/views/generic/dates.py @@ -654,8 +654,8 @@ class BaseDateDetailView(YearMixin, MonthMixin, DayMixin, DateMixin, BaseDetailV raise Http404(_( "Future %(verbose_name_plural)s not available because " "%(class_name)s.allow_future is False.") % { - 'verbose_name_plural': qs.model._meta.verbose_name_plural, - 'class_name': self.__class__.__name__, + 'verbose_name_plural': qs.model._meta.verbose_name_plural, + 'class_name': self.__class__.__name__, }, )