Skip to content

Commit b6fb1b3

Browse files
Add missing blank=True.
1 parent 1e27e65 commit b6fb1b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

snippets/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Snippet(models.Model):
1313
created = models.DateTimeField(auto_now_add=True)
14-
title = models.CharField(max_length=100, default='')
14+
title = models.CharField(max_length=100, blank=True, default='')
1515
code = models.TextField()
1616
linenos = models.BooleanField(default=False)
1717
language = models.CharField(choices=LANGUAGE_CHOICES,

0 commit comments

Comments
 (0)