class MyModel(models.Model): field1 = models.CharField(max_length=40, blank=False, null=False) field2 = models.CharField(max_length=60, blank=True, null=True)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter