Show More
@@ -11,7 +11,7 b'' | |||
|
11 | 11 | |
|
12 | 12 | <div class="thread"> |
|
13 | 13 | {% for post in thread.get_top_level_replies %} |
|
14 |
{% post_view post moderator=moderator |
|
|
14 | {% post_view post moderator=moderator mode_tree=True %} | |
|
15 | 15 | {% endfor %} |
|
16 | 16 | </div> |
|
17 | 17 |
@@ -15,7 +15,7 b' class ApiTest(TestCase):' | |||
|
15 | 15 | tags=[tag]) |
|
16 | 16 | |
|
17 | 17 | req = MockRequest() |
|
18 |
req. |
|
|
18 | req.POST['thread'] = opening_post.id | |
|
19 | 19 | req.POST['uids'] = opening_post.uid |
|
20 | 20 | # Check the exact timestamp post was added |
|
21 | 21 | empty_response = api.api_get_threaddiff(req) |
@@ -29,7 +29,7 b' class ApiTest(TestCase):' | |||
|
29 | 29 | text='[post]%d[/post]\ntext' % opening_post.id, |
|
30 | 30 | thread=opening_post.get_thread()) |
|
31 | 31 | req = MockRequest() |
|
32 |
req. |
|
|
32 | req.POST['thread'] = opening_post.id | |
|
33 | 33 | req.POST['uids'] = ' '.join(uids) |
|
34 | 34 | # Check the timestamp before post was added |
|
35 | 35 | response = api.api_get_threaddiff(req) |
@@ -40,7 +40,7 b' class ApiTest(TestCase):' | |||
|
40 | 40 | # Reload post to get the new UID |
|
41 | 41 | opening_post = Post.objects.get(id=opening_post.id) |
|
42 | 42 | req = MockRequest() |
|
43 |
req. |
|
|
43 | req.POST['thread'] = opening_post.id | |
|
44 | 44 | req.POST['uids'] = ' '.join([opening_post.uid, reply.uid]) |
|
45 | 45 | empty_response = api.api_get_threaddiff(req) |
|
46 | 46 | diff = simplejson.loads(empty_response.content) |
General Comments 0
You need to be logged in to leave comments.
Login now