In my views I sometimes use this:
return HttpResponseRedirect("/account/")
But that is hardcoding a url in my view, which I think is not very nice.
So what is the alternative? I know I can generate urls directly from the urls.py file, in my templates, via the {% url %} tag, so there has to be something I can do in my views, right?