From 96b4c52f6d536e5fc21389b65528f2b116aa74ca Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 3 Mar 2010 20:54:41 -0600 Subject: Add a flag to the repo to indicate its 'testing' status This will eventually lead into a cleanup where we don't do checks on the repo name all over the place like we currently do. There are two migrations involved here; one to add the column and one to deduce the correct value from the existing names of the repos. Signed-off-by: Dan McGee --- main/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'main/models.py') diff --git a/main/models.py b/main/models.py index b8ca28f2..abbe050b 100644 --- a/main/models.py +++ b/main/models.py @@ -161,6 +161,7 @@ class Meta: class Repo(models.Model): id = models.AutoField(primary_key=True) name = models.CharField(max_length=255,unique=True) + testing = models.BooleanField(default=False) def __unicode__(self): return self.name class Meta: -- cgit v1.2.3-54-g00ecf