Commit 631d90ff authored by Michal Čihař's avatar Michal Čihař

Fixed reference to accounts app

parent 2f0cb2ba
......@@ -56,7 +56,7 @@ For example, enabling authentication against GitHub:
AUTHENTICATION_BACKENDS = (
'social.backends.github.GithubOAuth2',
'social.backends.email.EmailAuth',
'accounts.auth.WeblateUserBackend',
'weblate.accounts.auth.WeblateUserBackend',
)
# Social auth backends setup
......
......@@ -690,7 +690,7 @@ def sync_create_groups(sender, app, **kwargs):
Create groups on syncdb.
'''
if (app == 'accounts'
or getattr(app, '__name__', '') == 'accounts.models'):
or getattr(app, '__name__', '') == 'weblate.accounts.models'):
create_groups(False)
......
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