From c18cd21e536592b6ed482126ee423f38b9ac9257 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 Dec 2010 19:02:22 -0600 Subject: Remove automatic ID column definitions Signed-off-by: Dan McGee --- news/models.py | 1 - 1 file changed, 1 deletion(-) (limited to 'news') diff --git a/news/models.py b/news/models.py index e2486c96..c2d644b7 100644 --- a/news/models.py +++ b/news/models.py @@ -2,7 +2,6 @@ from django.contrib.auth.models import User class News(models.Model): - id = models.AutoField(primary_key=True) slug = models.SlugField(max_length=255, unique=True) author = models.ForeignKey(User, related_name='news_author') postdate = models.DateTimeField("post date", auto_now_add=True, db_index=True) -- cgit v1.2.3-54-g00ecf