A more efficient way to do this is:

    html = ''.join('<div class="django-user-guide-item">{0}</div>'.format(guide.html) for guide in guides)