mirror of
https://github.com/Sosokker/ku-polls.git
synced 2025-12-18 13:04:05 +01:00
Change redirect page after signup.
This commit is contained in:
parent
707a8de93d
commit
0987543e53
@ -111,7 +111,7 @@ class ResultsView(LoginRequiredMixin, generic.DetailView):
|
||||
|
||||
class SignUpView(generic.CreateView):
|
||||
form_class = SignUpForm
|
||||
success_url = reverse_lazy('login')
|
||||
success_url = reverse_lazy('polls:index')
|
||||
template_name = 'registration/signup.html'
|
||||
|
||||
def form_valid(self, form):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user