From 7ebd77702aa5681d6635ef20b6252ce3c7f234de Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sun, 2 Jan 2022 21:54:05 +0100 Subject: fix tabs in user settings --- accounts/templates/accounts/index.html | 12 +++--------- accounts/views.py | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'accounts') diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 7cd287d..061da5d 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -11,15 +11,14 @@ {% endblock%} {% block content %}
-
+
@@ -314,12 +313,7 @@
-
-
- Helloooooo -
-
-
+
diff --git a/accounts/views.py b/accounts/views.py index 2b971b3..26d45fa 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -107,7 +107,7 @@ def oauth_disconnect(request): usercode.midata_token = "" usercode.save() - return HttpResponseRedirect(reverse("personal") + "#misc") + return HttpResponseRedirect(reverse("personal") + "#settings") # callback after acquiring token @login_required @@ -133,7 +133,7 @@ def auth_connect(request): usercode.midata_token = token["access_token"] usercode.save() - return HttpResponseRedirect(reverse("personal") + "#misc") + return HttpResponseRedirect(reverse("personal") + "#settings") @sensitive_variables("raw_passsword") def signup(request): -- cgit v1.2.1