python - creating django forms - Stack Overflow

PHOTO EMBED

Thu May 28 2020 21:57:47 GMT+0000 (Coordinated Universal Time)

Saved 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_copyCOPY

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