summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-21 21:23:24 -0600
committerDan McGee <dan@archlinux.org>2011-02-22 15:55:14 -0600
commit838b36f0a65dd58d49ca3541fb8abaeb72529683 (patch)
tree6e5aae978d7bd9d6eabaf0b1bea093c9dcb0b145 /main/models.py
parentfc7fc1d10a13e9b21d222435ba12affd1d08822f (diff)
Add new file and directory parts to package files
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index b7ab8057..ed136759 100644
--- a/main/models.py
+++ b/main/models.py
@@ -315,6 +315,9 @@ class Signoff(models.Model):
class PackageFile(models.Model):
pkg = models.ForeignKey(Package)
path = models.CharField(max_length=255)
+ is_directory = models.BooleanField(default=False)
+ directory = models.CharField(max_length=255)
+ filename = models.CharField(max_length=255, null=True, blank=True)
def __unicode__(self):
return self.path