Commit 70a8a6ef authored by Mario Chirinos's avatar Mario Chirinos

Drop index

parent 100efd00
......@@ -69,7 +69,7 @@ class News(models.Model):
verbose_name = 'Noticia'
verbose_name_plural = 'Noticias'
ordering = ('date',)
indexes = [ GinIndex(fields=['search_vector']) ]
# indexes = [ GinIndex(fields=['search_vector']) ]
#-------------------------------------------------------------------------------
class Search(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment