I have these Models:
class Gallery(models.Model): HeadImage = models.ImageField(upload_to=\"gallery\") class Image(models.Model): Image = models.Image
It looks like you are manually rendering the form in your template, and missing out the id field. Make sure you include {{ form.id }} for each form in the formset.
{{ form.id }}
{{ formset.management_form }} {% for form in formset %} {{ form.id }} {{ form.title }} {% endfor %}
See the docs on using model formsets in the template for more information.