Fix my account success url
This commit is contained in:
parent
9ba4d88e3d
commit
8c0b2600f9
|
@ -45,6 +45,9 @@ class MyAccountView(LoginRequiredMixin, UpdateView):
|
|||
def get_object(self, queryset=None):
|
||||
return self.request.user
|
||||
|
||||
def get_success_url(self):
|
||||
return reverse_lazy('member:my_account')
|
||||
|
||||
|
||||
class UserDetailView(LoginRequiredMixin, DetailView):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue