Add index for top10 stats
This commit is contained in:
parent
8ab2538f95
commit
3c6d62d76e
@ -24,8 +24,8 @@ class Profile(models.Model):
|
|||||||
verbose_name = _('Secondary languages'),
|
verbose_name = _('Secondary languages'),
|
||||||
related_name = 'secondary_profile_set'
|
related_name = 'secondary_profile_set'
|
||||||
)
|
)
|
||||||
suggested = models.IntegerField(default = 0)
|
suggested = models.IntegerField(default = 0, db_index = True)
|
||||||
translated = models.IntegerField(default = 0)
|
translated = models.IntegerField(default = 0, db_index = True)
|
||||||
|
|
||||||
|
|
||||||
@receiver(user_logged_in)
|
@receiver(user_logged_in)
|
||||||
|
Loading…
Reference in New Issue
Block a user