summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-11-22 14:21:32 -0700
committerCarl Meyer <carl@oddbird.net>2014-11-22 14:21:32 -0700
commita9cced7aecfb7c49fe0f84c33b86744bba8f58b5 (patch)
treef32e2fd8c6152f9c5ad2b198f18f77b0fdac59c5
parentda2a35cf9ed3ced1425aea361bca49ef759c8706 (diff)
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.
-rw-r--r--django/views/generic/dates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py
index b3f5d9df3e..8df5c338e2 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__,
},
)