From 5fb7afffbdbefcf52aceaa4d433e404ec7a0ea27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 6 Mar 2012 13:48:48 +0100 Subject: [PATCH] Actually index is not best choice here... Revert "Add some indices for searching" This reverts commit 2948feacaf1d279a5afaada1b00c9e397b64084e. --- trans/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trans/models.py b/trans/models.py index f7b5cc0d6..1af8e2f3b 100644 --- a/trans/models.py +++ b/trans/models.py @@ -409,11 +409,11 @@ class Unit(models.Model): translation = models.ForeignKey(Translation) checksum = models.CharField(max_length = 40, default = '', blank = True, db_index = True) location = models.TextField(default = '', blank = True) - context = models.TextField(default = '', blank = True, db_index = True) + context = models.TextField(default = '', blank = True) comment = models.TextField(default = '', blank = True) flags = models.TextField(default = '', blank = True) - source = models.TextField(db_index = True) - target = models.TextField(default = '', blank = True, db_index = True) + source = models.TextField() + target = models.TextField(default = '', blank = True) fuzzy = models.BooleanField(default = False, db_index = True) translated = models.BooleanField(default = False, db_index = True) position = models.IntegerField(db_index = True)