diff gpp/forums/views.py @ 123:3ae999b0c53b

Forums: added a jquery ui dialog of extra smileys.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Nov 2009 21:15:31 +0000
parents b28d30848c57
children 152d77265da6
line wrap: on
line diff
--- a/gpp/forums/views.py	Tue Oct 27 02:56:16 2009 +0000
+++ b/gpp/forums/views.py	Sun Nov 08 21:15:31 2009 +0000
@@ -292,6 +292,8 @@
     else:
         form = PostForm(instance=post)
 
+    post.user_profile = request.user.get_profile()
+
     return render_to_response('forums/edit_post.html', {
         'forum': post.topic.forum,
         'topic': post.topic,