Fix broken installation
This commit is contained in:
parent
0161a98d32
commit
7db78177c1
5 changed files with 13 additions and 4 deletions
|
@ -30,7 +30,7 @@ class JudgeAppConfig(AppConfig):
|
|||
from django.contrib.auth.models import User
|
||||
|
||||
try:
|
||||
lang = Language.get_python3()
|
||||
lang = Language.get_default_language()
|
||||
for user in User.objects.filter(profile=None):
|
||||
# These poor profileless users
|
||||
profile = Profile(user=user, language=lang)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue