def contactform(request): if request.method == \'GET\': form = contact_form() else: form = contact_form(request.POST) if form.is_valid(): contact_nam