summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 16:43:10 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 16:43:10 -0500
commit1942a9da6c8165c10c0914bcab522a59d15a1cc5 (patch)
tree4281cbabc2a75ce5d687b131c80c82c80fcd02a8
parent857cae2e96aa0d23b0702d5ad9db572787f657a9 (diff)
Fix package group unicode method
-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')