summaryrefslogtreecommitdiff
path: root/packages/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/models.py')
-rw-r--r--packages/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/models.py b/packages/models.py
index 7ae2d57a..d2fe1878 100644
--- a/packages/models.py
+++ b/packages/models.py
@@ -81,7 +81,7 @@ class PackageGroup(models.Model):
only names that link to given packages.
'''
pkg = models.ForeignKey('main.Package', related_name='groups')
- name = models.CharField(max_length=255)
+ name = models.CharField(max_length=255, db_index=True)
def __unicode__(self):
return "%s: %s" % (self.name, self.pkg)