Commit 349eb11c authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 568e5be8 f14030b3
......@@ -319,7 +319,7 @@ class Unit(models.Model):
num_words = models.IntegerField(default=0)
priority = models.IntegerField(default=100)
priority = models.IntegerField(default=100, db_index=True)
objects = UnitManager()
......@@ -327,7 +327,7 @@ class Unit(models.Model):
permissions = (
('save_translation', "Can save translation"),
)
ordering = ['position']
ordering = ['priority', 'position']
app_label = 'trans'
def __init__(self, *args, **kwargs):
......
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