Formapp is a project mainly written in Python, it's free.
show how django forms are broken
The problem is that when using model forms, all fields are set to false, even though defaults are all 'True' in the models
I tested the view with
curl --data "foo=bar" http://127.0.0.1:8080/ > error.html
then, going into the shell:
from main.models import * TestModel.objects.all()[0].dict Out[6]: {'_state': <django.db.models.base.ModelState object at 0x1cd3850>, 'field_1': False, 'field_2': False, 'field_3': False, 'id': 1}
heres what the model looks like:
from django.db import models
class TestModel(models.Model): field_1 = models.BooleanField(default=True) field_2 = models.BooleanField(default=True) field_3 = models.BooleanField(default=True)