Permalink
Browse files

Require snippet title

  • Loading branch information...
jpadilla committed Jan 27, 2014
1 parent e63b795 commit 657036a707156e436de94d6649ca35091513ceee
Showing with 2 additions and 2 deletions.
  1. +2 −2 snippets/models.py
View
@@ -12,9 +12,9 @@
class Snippet(models.Model):
created = models.DateTimeField(auto_now_add=True)
title = models.CharField(max_length=100, blank=True, default='')
title = models.CharField(max_length=100)
code = models.TextField()
created = models.DateTimeField(auto_now_add=True)
linenos = models.BooleanField(default=False)
language = models.CharField(choices=LANGUAGE_CHOICES,
default='python',

0 comments on commit 657036a

Please sign in to comment.