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
a3990d28
Commit
a3990d28
authored
Apr 18, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
907a12a3
8b4cdbb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
weblate/accounts/models.py
weblate/accounts/models.py
+1
-1
weblate/lang/models.py
weblate/lang/models.py
+1
-1
No files found.
weblate/accounts/models.py
View file @
a3990d28
...
...
@@ -109,7 +109,7 @@ def create_groups(update, move):
u
.
groups
.
add
(
group
)
def
sync_create_groups
(
sender
,
**
kwargs
):
if
sender
.
__name__
==
'accounts.models'
:
if
sender
.
__name__
==
'
weblate.
accounts.models'
:
create_groups
(
False
,
False
)
post_syncdb
.
connect
(
sync_create_groups
)
weblate/lang/models.py
View file @
a3990d28
...
...
@@ -113,7 +113,7 @@ def setup_lang(sender=None, **kwargs):
'''
Hook for creating basic set of languages on syncdb.
'''
if
sender
.
__name__
==
'lang.models'
:
if
sender
.
__name__
==
'
weblate.
lang.models'
:
Language
.
objects
.
setup
(
False
)
post_syncdb
.
connect
(
setup_lang
)
...
...
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