ThreadRoute.title as url; update scripts about old Diffusion.sounds -> Sound.Diffusion (still need tests); cleanup unused and old code
This commit is contained in:
@ -187,7 +187,7 @@ class PostListView(BaseView, ListView):
|
||||
|
||||
context = super().get_context_data(**kwargs)
|
||||
|
||||
if not context.get('title') and self.route:
|
||||
if self.route and not context.get('title'):
|
||||
context['title'] = self.route.get_title(
|
||||
self.model, self.request, **self.kwargs
|
||||
)
|
||||
|
Reference in New Issue
Block a user