I’m a noob particularly at django. What I am trying to do is a variation on a simple problem:
Go to mysite/number. Get a number from a webpage form. Reload mysite/number and get a second value from the same form. Do that n times. And get the total for n.
In other words, what is my next line after total += number?
You can use
Doc: https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#django.shortcuts.redirect
You can read the value of number and then again redirect the user to the same page.
You can use something like: