1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 06:22:22 +00:00

Fix my account success url

This commit is contained in:
Yohann D'ANELLO 2020-05-15 02:47:22 +02:00
parent 9ba4d88e3d
commit 8c0b2600f9

View File

@ -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):
"""