##// END OF EJS Templates
Load global id to pull posts
neko259 -
r1562:31a6af1e default
parent child Browse files
Show More
@@ -235,7 +235,7 b' class SyncManager:'
235
235
236 models = et.SubElement(response, TAG_MODELS)
236 models = et.SubElement(response, TAG_MODELS)
237
237
238 for post in Post.objects.all():
238 for post in Post.objects.prefetch_related('global_id').all():
239 tag_id = et.SubElement(models, TAG_ID)
239 tag_id = et.SubElement(models, TAG_ID)
240 post.global_id.to_xml_element(tag_id)
240 post.global_id.to_xml_element(tag_id)
241
241
General Comments 0
You need to be logged in to leave comments. Login now