diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-23 16:43:10 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-23 16:43:10 -0500 |
commit | 1942a9da6c8165c10c0914bcab522a59d15a1cc5 (patch) | |
tree | 4281cbabc2a75ce5d687b131c80c82c80fcd02a8 | |
parent | 857cae2e96aa0d23b0702d5ad9db572787f657a9 (diff) |
Fix package group unicode method
-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 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') |