[Oi-commits] r1458 - trunk/st
oi-commits at pardus.org.tr
oi-commits at pardus.org.tr
Thu Jun 5 14:34:47 EEST 2008
Author: jnmbk
Date: Thu Jun 5 14:34:47 2008
New Revision: 1458
Modified:
trunk/st/signals.py
Log:
trying to fix adding of tags (couldn't test properly)
Modified: trunk/st/signals.py
=================================================================
--- trunk/st/signals.py (original)
+++ trunk/st/signals.py Thu Jun 5 14:34:47 2008
@@ -46,6 +46,8 @@
topic = Topic(forum=forum[0],
title=instance.title #or any
)
+ for tag in instance.tags.all():
+ topic.tags.add(tag)
topic.save()
post = Post(topic=topic,
@@ -65,6 +67,8 @@
topic = Topic(forum=forum[0],
title=instance.title #news title
)
+ for tag in instance.tags.all():
+ topic.tags.add(tag)
topic.save()
post = Post(topic=topic,
More information about the Oi-commits
mailing list