Okay so if you go to the documentations here: https://docs.djangoproject.com/en/dev/topics/http/shortcuts/
and scroll down to look at the last example of redirect() it says "By default, redirect() returns a temporary redirect. All of the above forms accept a permanent argument; if set to True a permanent redirect will be returned:"
Now, what's the difference between a temporary redirect and a permanent redirect? I'm using it so that, when a user logs in and is authenticated, then to redirect him to the logged in page. Should I be using HttpResponseRedirect() instead? Does it give any benefit of using redirect() instead of HttpResponseRedirect()?
permanent = True
redirect()
that django provides. It is only a safe way of saying resources are available at the other URL.