Skip to content

Commit

Permalink
Fixing #125
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-code committed Oct 17, 2017
1 parent be0e1ff commit 538f8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootcamp/articles/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Article(models.Model):
(PUBLISHED, 'Published'),
)

title = models.CharField(max_length=255)
title = models.CharField(max_length=255, null=False, unique=True)
slug = AutoSlugField(populate_from='title')
tags = TaggableManager()
content = models.TextField(max_length=4000)
Expand Down

0 comments on commit 538f8d9

Please sign in to comment.