To redirect to a different page, return a HttpResponseRedirect with the URL [].

In order to generate the URL to go to from a view name, or a view function identifier, utilize the reverse function [].

If additional arguments along with this redirect have to be passed, they need to be encode into the query string. This can be accomplished with the QueryDict class []: ::

data = QueryDict('', mutable=True)
data['information'] = 'need to be passed'
query_str = data.urlencode()
return HttpResponseRedirect('%s?%s' % (url, query_str))
Edit tutorial

Comment on This Data Unit