projects
/
climbing.kerkeslager.com
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Nicer display of currently logged-in user
[climbing.kerkeslager.com]
/
src
/
user_profile
/
urls.py
diff --git
a/src/user_profile/urls.py
b/src/user_profile/urls.py
index
bc2c6d8
..
d1dad9b
100644
(file)
--- a/
src/user_profile/urls.py
+++ b/
src/user_profile/urls.py
@@
-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',
),
)