diff options
| author | Carl Meyer <carl@oddbird.net> | 2014-11-22 14:21:32 -0700 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2014-11-22 14:21:32 -0700 |
| commit | a9cced7aecfb7c49fe0f84c33b86744bba8f58b5 (patch) | |
| tree | f32e2fd8c6152f9c5ad2b198f18f77b0fdac59c5 | |
| parent | da2a35cf9ed3ced1425aea361bca49ef759c8706 (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.py | 4 |
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__, }, ) |
