Thanks for the reponse! My template looks like this:
{{ formset.management_form }}
{{ formset }}
{% csrf_token %}
Here is the print request.POST:
form-1-salaryform-MAX_NUM_FORMSform-0-surnameform-0-nameform-TOTAL_FORMSform-MIN_NUM_FORMSform-0-idform-1-nameform-
I cannot seem to figure this, although I suspects it is really elementary:
I have two models:
class Employee(models.Model):
id_number = models.CharField(max_length=13)
surname = models.CharField(max_length=100)
name = models.CharField(max_length=100)
class Payslip(models.Model):
surname =
2 matches
Mail list logo