def save_github_user(backend, user, response, *args, **kwargs):
    if (backend.name == 'github'):
        if (not user.is_student):
            user.is_student = True
            user.save()
            student = Student.objects.create(user=user)
def save_github_user(backend, user, response, *args, **kwargs):
    if (backend.name == 'github'):
        if (not user.is_student):
            user.is_student = True
            user.save()
            student = Student.objects.create(user=user)