Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add missing `blank=True`.

  • Loading branch information...
commit b6fb1b3ad9280211d0644cab854edba0d9bf68a0 1 parent 1e27e65
@tomchristie tomchristie authored
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,
Please sign in to comment.
Something went wrong with that request. Please try again.