Fix broken installation
This commit is contained in:
parent
0161a98d32
commit
7db78177c1
5 changed files with 13 additions and 4 deletions
|
@ -83,7 +83,7 @@ def make_profile(backend, user, response, is_new=False, *args, **kwargs):
|
|||
if is_new:
|
||||
if not hasattr(user, 'profile'):
|
||||
profile = Profile(user=user)
|
||||
profile.language = Language.get_python3()
|
||||
profile.language = Language.get_default_language()
|
||||
logger.info('Info from %s: %s', backend.name, response)
|
||||
profile.save()
|
||||
form = ProfileForm(instance=profile, user=user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue