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

def _start_relational_field(self, field):

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