return HttpResponseRedirect with message in django code example Example: django httpresponseredirect from django.http import HttpResponseRedirect