Commit 871b42b8 authored by fred's avatar fred

mark redirect as temporary

parent 3d91e5eb
......@@ -131,6 +131,7 @@ newsletter_update = NewsletterUpdateView.as_view()
class NewsletterSendView(RedirectView):
permanent = False
def get_redirect_url(self, pk):
if not self.request.user.has_perm('newsletter.add_newsletter'):
raise PermissionDenied()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment