[Oi-commits] r1318 - trunk/forum

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Thu May 1 11:12:13 EEST 2008


Author: jnmbk
Date: Thu May  1 11:12:12 2008
New Revision: 1318

Modified:
   trunk/forum/views.py
Log:
write correct author name

Modified: trunk/forum/views.py
=================================================================
--- trunk/forum/views.py	(original)
+++ trunk/forum/views.py	Thu May  1 11:12:12 2008
@@ -205,7 +205,7 @@
             post = get_object_or_404(Post, pk=quote_id)
 
             if post in topic.post_set.all():
-                form = PostForm(auto_id=True, initial={'text': '[quote <b>%s</b> kullanıcısından alıntı...]%s[/quote]' % (request.user.username, post.text)})
+                form = PostForm(auto_id=True, initial={'text': '[quote <b>%s</b> kullanıcısından alıntı...]%s[/quote]' % (post.author, post.text)})
             # if quote doesn't belong to this topic, just redirect to what user gets :)
             else:
                 return HttpResponseRedirect(post.get_absolute_url())


More information about the Oi-commits mailing list