summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-28 14:40:36 -0500
committerDan McGee <dan@archlinux.org>2010-07-28 14:41:13 -0500
commitaada2997127ea1d3e417dadf11d5295940a3ee5e (patch)
tree66b98797e16d8e1abd4aace6d01fdfba1150941e /main/models.py
parent6efe7bd17630b2f5ffa7719d712cc4c74f363830 (diff)
Add packager fields to package model
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 088d406b..68f378d9 100644
--- a/main/models.py
+++ b/main/models.py
@@ -175,6 +175,8 @@ class Package(models.Model):
last_update = models.DateTimeField(null=True, blank=True)
files_last_update = models.DateTimeField(null=True, blank=True)
license = models.CharField(max_length=255, null=True)
+ packager_str = models.CharField(max_length=255)
+ packager = models.ForeignKey(User, null=True)
flag_date = models.DateTimeField(null=True)
objects = PackageManager()