From 007b8d7573b64fd7f17023fa0288ba79e05683c4 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 22 Apr 2013 09:10:09 -0500 Subject: Add 'required_signoffs' field to Arch model This will indicate how many signoffs are required for packages of the given architecture. Set the default to 2 as it currently stands. Signed-off-by: Dan McGee --- main/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/models.py') diff --git a/main/models.py b/main/models.py index 2f4d352..2ace010 100644 --- a/main/models.py +++ b/main/models.py @@ -48,6 +48,8 @@ class Arch(models.Model): name = models.CharField(max_length=255, unique=True) agnostic = models.BooleanField(default=False, help_text="Is this architecture non-platform specific?") + required_signoffs = models.PositiveIntegerField(default=2, + help_text="Number of signoffs required for packages of this architecture") def __unicode__(self): return self.name -- cgit v1.2.3-24-g4f1b