From 1dc6b867f48786ab6973d6832f386c9d771b58e0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 28 Dec 2012 09:42:17 -0600 Subject: Populate the todolist slug field and mark non-null This is ripped off from commit 7c92ddbd3c86d when we added slugs to News objects. Signed-off-by: Dan McGee --- todolists/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'todolists/models.py') diff --git a/todolists/models.py b/todolists/models.py index 8ee4b5c..a6dda2a 100644 --- a/todolists/models.py +++ b/todolists/models.py @@ -16,7 +16,7 @@ class TodolistManager(models.Manager): class Todolist(models.Model): - slug = models.SlugField(max_length=255, null=True, unique=True) + slug = models.SlugField(max_length=255, unique=True) old_id = models.IntegerField(null=True, unique=True) name = models.CharField(max_length=255) description = models.TextField() -- cgit v1.2.3-24-g4f1b