diff options
| author | Tom Christie | 2013-02-23 21:29:13 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-02-23 21:29:13 +0000 | 
| commit | 41d3fe09cf3dd80cb8efed13dd886645ae7be470 (patch) | |
| tree | 0f1882b240405106c7e487305158877b6ff3880f | |
| parent | 5432f9ba49186f74af568d195cc995a5e75bc046 (diff) | |
| download | django-rest-framework-41d3fe09cf3dd80cb8efed13dd886645ae7be470.tar.bz2 | |
Add missing `blank=True` to model in tutorial.
| -rw-r--r-- | docs/tutorial/1-serialization.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 53d24136..691b3500 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -86,7 +86,7 @@ For the purposes of this tutorial we're going to start by creating a simple `Sni      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, | 
