Reformat code

This commit is contained in:
M.Ravi 2018-04-17 18:12:45 +02:00
parent 8b5b353e59
commit b3d36c1be3

View file

@ -59,8 +59,7 @@ class PostListViewUngleich(PostListView):
queryset = (self.model queryset = (self.model
.objects .objects
.filter(publish=True) .filter(publish=True)
.translated(language) .translated(language))
)
setattr(self.request, get_setting('CURRENT_NAMESPACE'), self.config) setattr(self.request, get_setting('CURRENT_NAMESPACE'), self.config)
return queryset return queryset