summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-03 20:54:41 -0600
committerDan McGee <dan@archlinux.org>2010-03-06 15:36:20 -0600
commit96b4c52f6d536e5fc21389b65528f2b116aa74ca (patch)
treed9c08381d03a4ced81b449bdd9f17ab46f76e377 /main/models.py
parent05d0b8232e03ed223ab109d72d9cdf770818e2ed (diff)
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 <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
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 Arch(models.Model):
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: