From 678b54d910c0022ea4ba9360ef9a5ba11d7e18a7 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 13 May 2011 21:49:06 +0200 Subject: tagging needs a string of tag names --- src/meetingtools/apps/room/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py index 26d2566..a54f1e9 100644 --- a/src/meetingtools/apps/room/models.py +++ b/src/meetingtools/apps/room/models.py @@ -70,6 +70,6 @@ def _magic_tags(sender,**kwargs): for tag in tags: if tag.name != "cleaning": ntags.append(tag.name) - Tag.objects.update_tags(room, ntags) + Tag.objects.update_tags(room, " ".join(ntags)) post_save.connect(_magic_tags,sender=Room) \ No newline at end of file -- cgit v1.1