I have a form that redirects to the same page after a user enters information (so that they can continue entering information). If the form submission is successful, I\'m r
From your views.py you hast have to put a key/value-pair into the session and then read it from the HTML template.
For example:
views.py
# your code here request.session['vote'] = 1 return HttpResponseRedirect(request.path)
your_template.html
{% ifequal request.session.vote 1 %} {% endifequal %}