Show More
@@ -71,6 +71,9 b' class PostManager(models.Manager):' | |||||
71 | # last! |
|
71 | # last! | |
72 | last_edit_time=posting_time) |
|
72 | last_edit_time=posting_time) | |
73 |
|
73 | |||
|
74 | logger.info('Created post #%d with title %s' % (post.id, | |||
|
75 | post.title)) | |||
|
76 | ||||
74 | if image: |
|
77 | if image: | |
75 | post_image = PostImage.objects.create(image=image) |
|
78 | post_image = PostImage.objects.create(image=image) | |
76 | post.images.add(post_image) |
|
79 | post.images.add(post_image) | |
@@ -84,9 +87,6 b' class PostManager(models.Manager):' | |||||
84 | Thread.objects.process_oldest_threads() |
|
87 | Thread.objects.process_oldest_threads() | |
85 | self.connect_replies(post) |
|
88 | self.connect_replies(post) | |
86 |
|
89 | |||
87 | logger.info('Created post #%d with title %s' % (post.id, |
|
|||
88 | post.get_title())) |
|
|||
89 |
|
||||
90 | return post |
|
90 | return post | |
91 |
|
91 | |||
92 | def delete_post(self, post): |
|
92 | def delete_post(self, post): |
General Comments 0
You need to be logged in to leave comments.
Login now