From 97732c4f45064635c640015b807ba7530bb8c50e Mon Sep 17 00:00:00 2001 From: Krzysztof Klimonda Date: Sun, 3 Mar 2013 10:08:46 -0800 Subject: [PATCH] Use the correct reverse argument --- pinry/users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/users/views.py b/pinry/users/views.py index 091a967..e546984 100644 --- a/pinry/users/views.py +++ b/pinry/users/views.py @@ -24,7 +24,7 @@ class CreateUser(CreateView): def get(self, request, *args, **kwargs): if not settings.ALLOW_NEW_REGISTRATIONS: messages.error(request, "The admin of this service is not allowing new registrations.") - return HttpResponseRedirect(reverse('pins:recent-pins')) + return HttpResponseRedirect(reverse('core:recent-pins')) return super(CreateUser, self).get(request, *args, **kwargs) def form_valid(self, form):