tags:

views:

17

answers:

0

I have a form which submits and saves some data to the database. After the submit process, I have the view for the form re-display a summary page which lists items in the database using the following:

return HttpResponseRedirect(reverse("my_shows"))

reverse("my_shows") leads to a view which gets the relevant objects from the database and sends this Data to a template

The problem is that although the correct page loads, the data it shows is "old" and doesn't have the most recent submission that I've confirmed in actually in the database. I actually have to log out and log back in for the summary page to reflect my most recent changes.

What's the fix for this? I'm not using any caching at the moment, and I'm not sure whats causing this.