summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-28 21:40:36 +0200
committerDan McGee <dan@archlinux.org>2010-07-28 21:41:13 +0200
commitaada2997127ea1d3e417dadf11d5295940a3ee5e (patch)
tree66b98797e16d8e1abd4aace6d01fdfba1150941e /main/models.py
parent6efe7bd17630b2f5ffa7719d712cc4c74f363830 (diff)
downloadarchweb-aada2997127ea1d3e417dadf11d5295940a3ee5e.tar.gz
archweb-aada2997127ea1d3e417dadf11d5295940a3ee5e.tar.xz
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 088d406..68f378d 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()