print local name and ip in vm terminal, document trigram index

This commit is contained in:
j 2012-03-30 16:57:07 +02:00
commit 0042546d6c
5 changed files with 90 additions and 10 deletions

View file

@ -1297,7 +1297,6 @@ class ItemFind(models.Model):
item = models.ForeignKey('Item', related_name='find', db_index=True)
key = models.CharField(max_length=200, db_index=True)
#CREATE INDEX item_itemfind_value_idx ON item_itemfind USING gin (value gin_trgm_ops);
value = models.TextField(blank=True, db_index=settings.DB_GIN_TRGM)
def __unicode__(self):