summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 22:43:10 +0100
committerDan McGee <dan@archlinux.org>2011-03-23 22:43:10 +0100
commit1942a9da6c8165c10c0914bcab522a59d15a1cc5 (patch)
tree4281cbabc2a75ce5d687b131c80c82c80fcd02a8 /packages
parent857cae2e96aa0d23b0702d5ad9db572787f657a9 (diff)
downloadarchweb-1942a9da6c8165c10c0914bcab522a59d15a1cc5.tar.gz
archweb-1942a9da6c8165c10c0914bcab522a59d15a1cc5.tar.xz
Fix package group unicode method
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 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')