Skip to content
Browse files

Add missing `blank=True`.

  • Loading branch information...
1 parent 1e27e65 commit b6fb1b3ad9280211d0644cab854edba0d9bf68a0 @tomchristie tomchristie committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 snippets/models.py
View
2 snippets/models.py
@@ -11,7 +11,7 @@
class Snippet(models.Model):
created = models.DateTimeField(auto_now_add=True)
- title = models.CharField(max_length=100, default='')
+ title = models.CharField(max_length=100, blank=True, default='')
code = models.TextField()
linenos = models.BooleanField(default=False)
language = models.CharField(choices=LANGUAGE_CHOICES,

0 comments on commit b6fb1b3

Please sign in to comment.
Something went wrong with that request. Please try again.