1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00

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.
This commit is contained in:
Carl Meyer 2014-11-22 14:21:32 -07:00
parent da2a35cf9e
commit a9cced7aec

View File

@ -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__,
},
)