Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
349eb11c
Commit
349eb11c
authored
May 07, 2014
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
568e5be8
f14030b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
weblate/trans/models/unit.py
weblate/trans/models/unit.py
+2
-2
No files found.
weblate/trans/models/unit.py
View file @
349eb11c
...
@@ -319,7 +319,7 @@ class Unit(models.Model):
...
@@ -319,7 +319,7 @@ class Unit(models.Model):
num_words
=
models
.
IntegerField
(
default
=
0
)
num_words
=
models
.
IntegerField
(
default
=
0
)
priority
=
models
.
IntegerField
(
default
=
100
)
priority
=
models
.
IntegerField
(
default
=
100
,
db_index
=
True
)
objects
=
UnitManager
()
objects
=
UnitManager
()
...
@@ -327,7 +327,7 @@ class Unit(models.Model):
...
@@ -327,7 +327,7 @@ class Unit(models.Model):
permissions
=
(
permissions
=
(
(
'save_translation'
,
"Can save translation"
),
(
'save_translation'
,
"Can save translation"
),
)
)
ordering
=
[
'position'
]
ordering
=
[
'p
riority'
,
'p
osition'
]
app_label
=
'trans'
app_label
=
'trans'
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment