code: def redirect_ext(to, params_=None, anchor_=None, permanent_=False, args=None, kwargs=None):
      
      if permanent_:
          redirect_class = HttpResponsePermanentRedirect
      else:
          redirect_class = HttpResponseRedirect
      return redirect_class(resolve_url_ext(to, params_, anchor_, args, kwargs))
docs: Advanced redirect which can includes GET-parameters and anchor.