[Oi-commits] r1461 - trunk/st

oi-commits at pardus.org.tr oi-commits at pardus.org.tr
Thu Jun 5 15:45:41 EEST 2008


Author: jnmbk
Date: Thu Jun  5 15:45:41 2008
New Revision: 1461

Modified:
   trunk/st/signals.py
Log:
put the post as latest post when adding topic

Modified: trunk/st/signals.py
=================================================================
--- trunk/st/signals.py	(original)
+++ trunk/st/signals.py	Thu Jun  5 15:45:41 2008
@@ -53,6 +53,8 @@
                                 text=instance.text
                                )
             post.save()
+            topic.topic_latest_post = post
+            topic.save()
 
         else:
             return


More information about the Oi-commits mailing list