How to save Django ModelFormSet?
问题 I'm quite desperate now and I cannot figure this out. To me it should be easy to do, but I have not come across any answers that explains this. Two models with no foreign keys between them: class Employee(models.Model): surname = models.CharField(max_length=100) name = models.CharField(max_length=100) class Salary(models.Model): date = models.DateField(auto_now_add=True) surname = models.CharField(max_length=100) name = models.CharField(max_length=100) salary = models.DecimalField(max_digits