##// END OF EJS Templates
Fixed tag parsing
neko259 -
r2104:2e6f7c21 default
parent child Browse files
Show More
@@ -235,8 +235,8 b' class SyncManager:'
235 235 opening_post = None
236 236 tag_tags = tag_content.find(TAG_TAGS)
237 237 for tag_tag in tag_tags:
238 tag, created = Tag.objects.get_or_create(
239 aliases__name=tag_tag.text)
238 tag, created = Tag.objects.get_or_create_with_alias(
239 name=tag_tag.text)
240 240 tags.append(tag)
241 241
242 242 # TODO Check that the replied posts are already present
@@ -100,6 +100,7 b' class SyncTest(TestCase):'
100 100 post.get_sync_text(),
101 101 post.get_thread().get_tags().first().get_name(),
102 102 post.get_pub_time_str(),
103 post.last_edit_time,
103 104 ) in response,
104 105 'Wrong response generated for the GET request.')
105 106
General Comments 0
You need to be logged in to leave comments. Login now