0 points

python - creating django forms - Stack Overflow


dashboard

Thu May 28 2020 21:57:47 GMT+0000 (UTC)

Posted by @opeispo #python

class MyModel(models.Model):
        field1 = models.CharField(max_length=40, blank=False, null=False)
        field2 = models.CharField(max_length=60, blank=True, null=True)
content_copy Copy

https://stackoverflow.com/questions/11923317/creating-django-forms