diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-22 09:10:09 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-22 09:13:12 -0500 |
commit | 007b8d7573b64fd7f17023fa0288ba79e05683c4 (patch) | |
tree | 12017c2b4ccb8fbc59049f8312e80eec7f5438ba /main/models.py | |
parent | a8203a0a17fbd8680f96c9357c7fba5923960e34 (diff) |
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 <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py index 2f4d3520..2ace0109 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 |