title: Django forms - create a form for each object in model, and then save to the corresponding PK
body: <p>I'm new to django (and programming in general). Sorry if I used the wrong vocabulary (and please correct me). This is what i'm trying to do:</p>
  <p>I have this model:</p>
  <pre><code>Class A(models.Model):
      name = models.CharField(max_length=100, null=True, default='John')
  
      first_number = models.FloatField(blank=True, default=1)
  
      second_number = models.FloatField(blank=True, default=2)
  
      third_number = models.FloatField(blank=True, default=3)
  
  </code></pre>
  <p>And I have this form:</p>
  <pre><code>class Numbers(ModelForm):
      class Meta:
          model = A
  
          fields = ['first_number', 'second_number']
  </code></pre>
  <p>In my template, I created a for for x in a (given that 'a' is A.objects.all()):</p>
  <pre><code>{% for x in a %}
  {{form}}
  {% endfor %}
  </code></pre>
  <p>When I submit the form, though, I cant get the corresponding numbers. I only saves the last number I enter in both 'first_number' and 'second_number' for the both objects that I created.</p>
  <p>How can I save the correct values?</p>