##// END OF EJS Templates
Fixed updating post
neko259 -
r1604:78320f55 default
parent child Browse files
Show More
@@ -79,7 +79,7 b' class PostManager(models.Manager):'
79 79 if file:
80 80 self._add_file_to_post(file, post)
81 81 for image in images:
82 post.images.add(image)
82 post.attachments.add(image)
83 83
84 84 post.connect_threads(opening_posts)
85 85 post.set_global_id()
@@ -168,7 +168,6 b' class PostManager(models.Manager):'
168 168
169 169 post.clear_cache()
170 170
171 post.images.clear()
172 171 post.attachments.clear()
173 172 for file in files:
174 173 self._add_file_to_post(file, post)
General Comments 0
You need to be logged in to leave comments. Login now