- {{public_post.text|linebreaksbr}}
+
{{post.poster.shown_name}}
+ at {{post.post_time|date:"Y-m-d H:i:s.u"}}+0000
+ {{post.text|linebreaksbr}}
- đ - â
+ {{post.text|linebreaksbr}}
- đ - â
diff --git a/khaikang/views.py b/khaikang/views.py index 1301a80..fb92a3c 100644 --- a/khaikang/views.py +++ b/khaikang/views.py @@ -237,7 +237,7 @@ def user_timeline(request, username): 'user_shown_name' : viewed_user.shown_name, 'latest_received_time' : latest_received_time, 'oldest_received_time' : oldest_received_time, - 'public_timeline_list': viewed_timeline_list, + 'viewed_timeline_list': viewed_timeline_list, } return HttpResponse(template.render(context, request)) diff --git a/templates/user_timeline.html b/templates/user_timeline.html index 9c0d11c..b20f7fe 100644 --- a/templates/user_timeline.html +++ b/templates/user_timeline.html @@ -37,11 +37,11 @@