Redirect user to homepage.
parent
a782fe4738
commit
f98aa4c34c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue