def index(request): form = DocForm() return render_to_response('welcome/index.html', { 'form': form.as_widget(), })