def METHOD_NAME(request):
    if request.method == 'POST':
        form = AddSchoolForm(request.POST)
        if form.is_valid():
            school = form.save(commit=False)
            school.is_approved = False
            school.save()
            if 'oi_oiregistrationformdata' in request.session:
                data = request.session['oi_oiregistrationformdata']
                data['school'] = school.id
                request.session['oi_oiregistrationformdata'] = data
                return redirect('participants_register', contest_id=request.contest.id)
            else:
                return redirect('default_contest_view', contest_id=request.contest.id)
    else:
        form = AddSchoolForm()
    return TemplateResponse(request, 'forms/add_school_form.html', {'form': form})