From 889ce1787c9d339945380dc491daaa46d5c953c7 Mon Sep 17 00:00:00 2001 From: tacitus Date: Sun, 24 Jun 2018 08:55:25 +1200 Subject: [PATCH] Fix reverse url for blocklist --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- wagtailenforcer/views/axes/views.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e1ea48..0b41715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ... +## [1.1.7] - 2018-06-24 + +### Added + +- Fix reverse for blocklist + + ## [1.1.6] - 2018-06-22 ### Added diff --git a/setup.py b/setup.py index 3a107aa..ae0a240 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ setup( name='wagtailenforcer', - version='1.1.6', + version='1.1.7', description='WagtailEnforcer, the Wagtail arm of the law.', author='Springload', author_email='hello@springload.co.nz', diff --git a/wagtailenforcer/views/axes/views.py b/wagtailenforcer/views/axes/views.py index fd4f23a..a2e0fed 100644 --- a/wagtailenforcer/views/axes/views.py +++ b/wagtailenforcer/views/axes/views.py @@ -70,4 +70,4 @@ def reset(request, id): else: messages.error(request, _("User '{0}' was not blocked.").format(user)) - return HttpResponseRedirect(reverse('wagtailenforcer.views.axes.views.list')) + return HttpResponseRedirect(reverse('wagtailenforcer_blocked_users'))