This commit is contained in:
Ross
2024-11-04 11:41:38 +00:00
parent cee4009eb8
commit 155c036f0c
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -737,7 +737,7 @@ def accounts_bulk_create_check(request):
errors.append("No email provided")
if User.objects.filter(username=user["email"]).exists():
info.append("User already exists")
errors.append("User already exists")
if not UserGrades.objects.filter(name=user["grade"]):
errors.append("Invalid grade")