thanks for the answer, it works and you are right: the
render_to_response line contains a typo.
Is there also another way to collect the number, so it isn't shown to
the user? I was trying to use a QueryDict, something like :
nb = request.GET.__getitem__('number')
but number is a string and not
hi,
I trying to increase a number by hitting a submit button. So each time
you hit the button the site shows an increasing number. How can I
show each time the next number?
my "count.html"
-
{{ number }}
my "view.py"
-
2 matches
Mail list logo