Show More
@@ -154,7 +154,7 b' class PostManager(models.Manager):' | |||||
154 | url_to_post = '[post]{}[/post]'.format(str(global_id)) |
|
154 | url_to_post = '[post]{}[/post]'.format(str(global_id)) | |
155 | replies = self.filter(text__contains=url_to_post) |
|
155 | replies = self.filter(text__contains=url_to_post) | |
156 | for reply in replies: |
|
156 | for reply in replies: | |
157 | post_import_deps.send(reply.__class__) |
|
157 | post_import_deps.send(reply.__class__, reply) | |
158 |
|
158 | |||
159 | @transaction.atomic |
|
159 | @transaction.atomic | |
160 | def update_post(self, post, title: str, text: str, pub_time: str, |
|
160 | def update_post(self, post, title: str, text: str, pub_time: str, |
General Comments 0
You need to be logged in to leave comments.
Login now