summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py
index 63a7255b..79e8abca 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -45,7 +45,7 @@ class PackageGroup(models.Model):
name = models.CharField(max_length=255)
def __unicode__(self):
- return "%s: %s" % (name, pkg)
+ return "%s: %s" % (self.name, self.pkg)
class License(models.Model):
pkg = models.ForeignKey('main.Package', related_name='licenses')