diff --git a/tailbone/views/master.py b/tailbone/views/master.py index 40972a32..38ce92ee 100644 --- a/tailbone/views/master.py +++ b/tailbone/views/master.py @@ -150,7 +150,7 @@ class MasterView(View): if not self.deletable_instance(instance): self.request.session.flash("Deletion is not permitted for {} {}".format( self.get_model_title(), instance)) - return HTTPFound(location=self.get_action_url('view', instance)) + return self.redirect(self.get_action_url('view', instance)) form = self.make_form(instance)