aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/users/views.py')
-rw-r--r--ctrack/users/views.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ctrack/users/views.py b/ctrack/users/views.py
index ed29ea1..8e504e4 100644
--- a/ctrack/users/views.py
+++ b/ctrack/users/views.py
@@ -50,7 +50,11 @@ class UserRedirectView(LoginRequiredMixin, RedirectView):
permanent = False
def get_redirect_url(self):
- return reverse("users:detail", kwargs={"username": self.request.user.username})
+ return reverse("core:home")
+
+
+# def get_redirect_url(self):
+# return reverse("users:detail", kwargs={"username": self.request.user.username})
user_redirect_view = UserRedirectView.as_view()