diff --git a/tailbone/views/core.py b/tailbone/views/core.py index a293a576..18db13f3 100644 --- a/tailbone/views/core.py +++ b/tailbone/views/core.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2015 Lance Edgar +# Copyright © 2010-2016 Lance Edgar # # This file is part of Rattail. # @@ -24,7 +24,7 @@ Base View Class """ -from __future__ import unicode_literals +from __future__ import unicode_literals, absolute_import from rattail.db import model @@ -58,11 +58,11 @@ class View(object): if uuid: return Session.query(model.User).get(uuid) - def redirect(self, url): + def redirect(self, url, **kwargs): """ Convenience method to return a HTTP 302 response. """ - return httpexceptions.HTTPFound(location=url) + return httpexceptions.HTTPFound(location=url, **kwargs) def fake_error(request):