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
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
2 matches
Mail list logo