This is what my template looks like: <form action="." method="GET"><table>{{ form.as_table }} </ table><input type="submit" value="submit"></form>
This is what my view looks like: ... myform = MyForm() if request.method=="GET": myform = MyForm(request.GET) if request.GET.get('action') == True: if myform.is_valid(): ... ... return render_to_response ('template.html', {'form' : myform}) When I first go to the page, requet.GET.get('action') is None. When I click the 'submit' button, again requet.GET.get('action') is None. I used HttpResponse to return requet.GET.get('action') as a string. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---