Я получаю ошибку:
TypeError: 'person' is an invalid keyword argument for this function
Моя модель:
class Investment(models.Model):
company = models.ManyToManyField("Company", related_name ="Investments_company")
financial_org = models.ManyToManyField("Financial_org", related_name ="Investments_financial_org")
person = models.ManyToManyField("Person", related_name ="Investments_person")
Мой тест (который выдает ошибку):
investment1 = Investment(company = [], financial_org = financial1, person = [])