diff options
-rw-r--r-- | packages/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py index 63a7255..79e8abc 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') |