Show More
@@ -180,7 +180,7 b' class SettingsManager:' | |||||
180 |
|
180 | |||
181 | def get_last_posts(self): |
|
181 | def get_last_posts(self): | |
182 | post_ids = self.get_setting(SETTING_LAST_POSTS) or [] |
|
182 | post_ids = self.get_setting(SETTING_LAST_POSTS) or [] | |
183 |
return |
|
183 | return list(boards.models.Post.objects.filter(id__in=post_ids)) | |
184 |
|
184 | |||
185 |
|
185 | |||
186 | class SessionSettingsManager(SettingsManager): |
|
186 | class SessionSettingsManager(SettingsManager): |
General Comments 0
You need to be logged in to leave comments.
Login now