Redirect user to homepage.

master
Nick Sergeant 2015-11-05 21:10:25 -05:00
parent a782fe4738
commit f98aa4c34c
1 changed files with 3 additions and 0 deletions

View File

@ -7,3 +7,6 @@ class SniptRegistrationView(RegistrationView):
Custom registration view that uses our custom form.
"""
form_class = SniptRegistrationForm
def get_success_url(self, request, user):
return '/{}/'.format(user.username)