Holen Sie sich alle Foreignkey -Daten, indem Sie in Django nisten
class AccountSerializer(serializers.ModelSerializer):
class Meta:
model = Account
fields = ['id', 'account_name', 'users', 'created']
depth = 1
Mad developer