Skip to content

Instantly share code, notes, and snippets.

@sakti
Last active October 14, 2015 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sakti/cc950abc6c8b2715deb7 to your computer and use it in GitHub Desktop.
Save sakti/cc950abc6c8b2715deb7 to your computer and use it in GitHub Desktop.
entries = Entry.objects.all()
for entry in entries:
print '%s %s %s' % (entry.blog.name, ','.join([item.name for item in entry.authors.all()]), entry.pub_date)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment