summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-13 21:49:06 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-13 21:49:06 +0200
commit678b54d910c0022ea4ba9360ef9a5ba11d7e18a7 (patch)
tree4ff43e83c1e08d22e08398d35d17d4cbb991cc17
parent73b19258f90fdc496892927ce32874cca2abb6ad (diff)
tagging needs a string of tag names
-rw-r--r--src/meetingtools/apps/room/models.py2
1 files changed, 1 insertions, 1 deletions
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