Show More
@@ -212,7 +212,7 b' class Post(models.Model, Viewable):' | |||
|
212 | 212 | kwargs for the means of caching (if we view the thread, some params |
|
213 | 213 | are same for every post and don't need to be computed over and over. |
|
214 | 214 | """ |
|
215 | params = self.get_view_params(args, kwargs) | |
|
215 | params = self.get_view_params(*args, **kwargs) | |
|
216 | 216 | |
|
217 | 217 | return render_to_string('boards/post.html', params) |
|
218 | 218 |
@@ -44,6 +44,7 b' def post_view(context, post, *args, **kw' | |||
|
44 | 44 | kwargs['perms'] = context['perms'] |
|
45 | 45 | return post.get_view_params(*args, **kwargs) |
|
46 | 46 | |
|
47 | ||
|
47 | 48 | @register.simple_tag(name='page_url') |
|
48 | 49 | def page_url(paginator, page_number, *args, **kwargs): |
|
49 | 50 | if paginator.supports_urls(): |
General Comments 0
You need to be logged in to leave comments.
Login now