Commit 3c6d62d7 authored by Michal Čihař's avatar Michal Čihař

Add index for top10 stats

parent 8ab2538f
......@@ -24,8 +24,8 @@ class Profile(models.Model):
verbose_name = _('Secondary languages'),
related_name = 'secondary_profile_set'
)
suggested = models.IntegerField(default = 0)
translated = models.IntegerField(default = 0)
suggested = models.IntegerField(default = 0, db_index = True)
translated = models.IntegerField(default = 0, db_index = True)
@receiver(user_logged_in)
......
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