summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index dcd49cdc..ec0d95e4 100644
--- a/main/models.py
+++ b/main/models.py
@@ -52,7 +52,7 @@ class PackageManager(models.Manager):
#############################
class Mirror(models.Model):
name = models.CharField(max_length=255)
- country = models.CharField(max_length=255)
+ country = models.CharField(max_length=255, db_index=True)
admin_email = models.EmailField(max_length=255, blank=True)
notes = models.CharField(max_length=255, blank=True)
public = models.BooleanField(default=True)