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 a key. So I don't know if it is possible with a QueryDict. On 22 feb, 05:51, rajeesh <rajeeshrn...@gmail.com> wrote: > Try to modify your form_action to "/mysite/count/{{ number }}" and > edit urls.py to change corresponding rule as something like r'/mysite/ > count/(?P<number>\d*)'. > Doesn't that render_to_response line contains a typo? It must be > {'number':new_number}. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---