Mercurial > public > sg101
diff gpp/forums/views/main.py @ 298:4f032a6e21f8
Fix #139; when editing a user's post, the post author's signature should appear with the post, not the user (moderator) making the edit).
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 10 Jan 2011 03:33:21 +0000 |
parents | 26fc9ac9a0eb |
children | c550933ff5b6 |
line wrap: on
line diff
--- a/gpp/forums/views/main.py Sun Jan 09 21:16:08 2011 +0000 +++ b/gpp/forums/views/main.py Mon Jan 10 03:33:21 2011 +0000 @@ -389,7 +389,7 @@ else: form = PostForm(instance=post, topic_name=topic_name) - post.user_profile = request.user.get_profile() + post.user_profile = post.user.get_profile() return render_to_response('forums/edit_post.html', { 'forum': post.topic.forum,