Fix broken installation
This commit is contained in:
parent
0161a98d32
commit
7db78177c1
5 changed files with 13 additions and 4 deletions
|
@ -81,7 +81,7 @@ class RegistrationView(OldRegistrationView):
|
|||
def register(self, form):
|
||||
user = super(RegistrationView, self).register(form)
|
||||
profile, _ = Profile.objects.get_or_create(user=user, defaults={
|
||||
'language': Language.get_python3(),
|
||||
'language': Language.get_default_language(),
|
||||
})
|
||||
|
||||
cleaned_data = form.cleaned_data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue