Redirect after login

Redirect after login

Im having this problem only with jquery mobile.
using django backend.

  1.     if request.method == 'POST':
            accinstance = accounts()
            username = request.POST['username']
            password = request.POST['password']
            member_id = accinstance.login(username, password)
            print member_id
            if member_id:
                request.session['member_id'] = member_id
                request.session['ias_username'] = request.POST['username']
                request.session['ias_client'] = request.POST['client']
                return HttpResponseRedirect('/home/')
            else:
                return render(request, 'accounts/login.html',{'warning':warning})












Notmally , what I do is if user successfully gets a member_id, I redirect him to /home/ page, which is working correct.
Problem is, after successful login, /home/ page displays corretly but , url of my browser stays same, (/login/)
any idea?