Skip to content

Commit

Permalink
Fix success_url
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamu committed Jul 31, 2016
1 parent f5ed7a8 commit 9597804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/messages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ThreadDeleteView(LoginRequiredMixin, DeleteView):
Delete a thread.
"""
model = Thread
success_url = "pinax_messages:inbox"
success_url = reverse_lazy("pinax_messages:inbox")
template_name = "pinax/messages/thread_confirm_delete.html"

def delete(self, request, *args, **kwargs):
Expand Down

0 comments on commit 9597804

Please sign in to comment.