Czy istnieje prostszy sposób dodania użytkownika niż z poniższym wzorem?Równoważnik get_or_create dla dodawania użytkowników
try:
new_user = User.objects.create_user(username, email, password)
except IntegrityError:
messages.info(request, "This user already exists.")
else:
new_user.first_name = first_name
# continue with other things
Robi to teraz, patrz odpowiedź @nu everest. –