mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-24 18:22:24 +00:00
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
Block a user