При отправке запроса получаю 403-ю? Почему?
def index(request):
if 'q' in request.POST:
q = request.POST['q']
return render_to_response('index.html', {'q': q} )
else:
return render_to_response('index.html', {'q': 'error'} )
вот вид если что:
{{ q }}
<form action="" method="POST" />
<input type="text" name="q" />
<input type="submit">
</form>
подскажите...