I have a django app samplesubmission with two different views. The index view (localhost:8000/samplesubmission/
) lists the last 5 samples and an add view (localhost:8000/samplesubmission/add/
), which adds a new sample. If everything works, I return the index view.
return index(request)
This works fine, only the url in the browser still says localhost:8000/samplesubmission/add/
so, if I hit reload, I am already at the form to add a new sample...
Just wondering, how to change the url in the browser.
Sorry, for not presenting a minimal working example, but I am not sure, what I will need for this question.