summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 17:11:59 +0200
committerDan McGee <dan@archlinux.org>2010-05-26 17:11:59 +0200
commit4740c396035b622e265a7d5616bd08f6cb039553 (patch)
tree4dcff3539a48ccc5f418725f63d426254e63e1b1 /main/models.py
parentc426fbebb786f4b33fd701f37372c30ebfed796a (diff)
downloadarchweb-4740c396035b622e265a7d5616bd08f6cb039553.tar.gz
archweb-4740c396035b622e265a7d5616bd08f6cb039553.tar.xz
Add filename column to package model
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 6facc8b..7ccb924 100644
--- a/main/models.py
+++ b/main/models.py
@@ -169,6 +169,7 @@ class Package(models.Model):
pkgrel = models.CharField(max_length=255)
pkgdesc = models.CharField(max_length=255, null=True)
url = models.CharField(max_length=255, null=True)
+ filename = models.CharField(max_length=255)
compressed_size = models.PositiveIntegerField(null=True)
installed_size = models.PositiveIntegerField(null=True)
build_date = models.DateTimeField(null=True)