'Helper to output the <field> element for relational fields'

def _start_relational_field(self, field):

    self.indent(2)
    self.xml.startElement('field', {'name': field.name, 'rel': field.rel.__class__.__name__, 'to': smart_unicode(field.rel.to._meta)})
