def get_current_url(self): """the current URL + next.""" return request.base_url + '?next=' + url_quote(self.get_next_url())