Skip to content

Commit 6dc6a99

Browse files
committed
Fix typo to fix relative timestamp preference
1 parent ee12867 commit 6dc6a99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pgcommitfest/commitfest/views.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def commitfest(request, cfid):
542542
"openpatchids": [p["id"] for p in patch_list.patches if p["is_open"]],
543543
"header_activity": "Activity log",
544544
"header_activity_link": "activity/",
545-
"userprofile": getattr(request.user, "uesrprofile", UserProfile()),
545+
"userprofile": getattr(request.user, "userprofile", UserProfile()),
546546
},
547547
)
548548

@@ -680,7 +680,7 @@ def patch(request, patchid):
680680
"breadcrumbs": [
681681
{"title": cf.title, "href": "/%s/" % cf.pk},
682682
],
683-
"userprofile": getattr(request.user, "uesrprofile", UserProfile()),
683+
"userprofile": getattr(request.user, "userprofile", UserProfile()),
684684
},
685685
)
686686

0 commit comments

Comments
 (0)