From a9cced7aecfb7c49fe0f84c33b86744bba8f58b5 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 22 Nov 2014 14:21:32 -0700 Subject: [PATCH] Fix another flake8 warning. I don't agree with flake8 here about the right indentation, but as long as we're using it, we should stick to it. I don't want to disable its hanging indent checks just because of this case. --- django/views/generic/dates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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__, }, )