Reformat code
This commit is contained in:
parent
8b5b353e59
commit
b3d36c1be3
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue