In our project we use Salesforce library in Django. We have class which include the raw:
class SalesforceContact(models.Model):
account = models.ForeignKey(SalesforceAccount, models.DO_NOTHING,
db_column='AccountId', blank=True, null=True, related_name='contacts')
When we get the result
all_contacts = SalesforceContact.objects.filter(xxxxxxx).all()
the attributes of all_contacts doesn't contain 'account' but 'account_id' field.
It's not API so I'm not using serializers.
Am I wrong and there is a bug? How can I change the name of attribute?