aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-08-29 13:11:08 -0400
committerBobby <[email protected]>2022-08-29 13:11:08 -0400
commit1a7bc7ab002b75dc3a8d8f780fb71d1691eb2816 (patch)
tree406a2924d178abfb77160c5f942acd832b3cf3fb
parent5ab9a8355296b28565e8a39d6b8fff0cbb504932 (diff)
downloadthatcomputerscientist-1a7bc7ab002b75dc3a8d8f780fb71d1691eb2816.tar.xz
thatcomputerscientist-1a7bc7ab002b75dc3a8d8f780fb71d1691eb2816.zip
Fix Account Redirection
-rw-r--r--blog/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/blog/urls.py b/blog/urls.py
index 64f89ff7..7824476c 100644
--- a/blog/urls.py
+++ b/blog/urls.py
@@ -5,6 +5,7 @@ from . import views
urlpatterns = [
path('', views.home, name='home'),
path('my/', RedirectView.as_view(pattern_name='account', permanent=False)),
+ path('account/', RedirectView.as_view(pattern_name='account', permanent=False)),
path('my/account', views.account, name='account'),
path('my/homepage', views.homepage, name='homepage'),
]