Nicer display of currently logged-in user
[climbing.kerkeslager.com] / src / user_profile / urls.py
index bc2c6d8..d1dad9b 100644 (file)
@@ -2,10 +2,17 @@ from django.urls import path
 
 from . import views
 
+app_name = 'user'
+
 urlpatterns = (
+    path(
+        '',
+        views.user_profile_detail,
+        name='self-profile-detail',
+    ),
     path(
         '<str:username>',
         views.user_profile_detail,
-        name='user-profile-detail',
+        name='profile-detail',
     ),
 )