summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index dc73c986..56e5712d 100644
--- a/main/models.py
+++ b/main/models.py
@@ -322,6 +322,12 @@ class PackageDepend(models.Model):
pkg = models.ForeignKey(Package)
depname = models.CharField(max_length=255, db_index=True)
depvcmp = models.CharField(max_length=255)
+ optional = models.BooleanField(default=False)
+ description = models.TextField(null=True, blank=True)
+
+ def __unicode__(self):
+ return "%s%s" % (depname, depvcmp)
+
class Meta:
db_table = 'package_depends'