Re: Form submission not working

2009-02-04 Thread Felipe Sodré Silva
Never mind. I should have used name='bla' instead of id='bla'. On Wed, Feb 4, 2009 at 5:59 PM, Felipe Sodré Silva wrote: > Hello all. I'm facing a really weird problem here. > > I have this template: > > alert('post : {{ post }}'); > > > > > > > > and this view for the templat

Form submission not working

2009-02-04 Thread Felipe Sodré Silva
Hello all. I'm facing a really weird problem here. I have this template: alert('post : {{ post }}'); and this view for the template: def jstest(request): post = request.POST.get('bla', 'no posts') if request.method != 'POST': post = 'No post data sent' ret