diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-06 12:05:19 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-06 12:12:17 -0500 |
commit | f95abca269aec1409ec1e57de4c6cb5ba1da6369 (patch) | |
tree | 94a46c026a180790cb41c4ffce55fc330b807ce2 /packages/models.py | |
parent | 4876a1258042a85d9c0a1d57a1a185f48850c929 (diff) |
Refactor code to use new signoff model
This moves signoff creation and display to the new packages.Signoff
model.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
-rw-r--r-- | packages/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/models.py b/packages/models.py index 55725e8e..7ae2d57a 100644 --- a/packages/models.py +++ b/packages/models.py @@ -55,6 +55,8 @@ class Signoff(models.Model): revoked = models.DateTimeField(null=True) comments = models.TextField(null=True, blank=True) + REQUIRED = 2 + @property def packages(self): # TODO: delayed import to avoid circular reference |