1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-20 17:41:55 +02:00

page title and edit buttons

This commit is contained in:
Pierre-antoine Comby
2020-03-25 17:25:44 +01:00
parent 826573f553
commit 26d70c4ef9
3 changed files with 14 additions and 4 deletions

View File

@ -143,10 +143,6 @@ class UserDetailView(LoginRequiredMixin, DetailView):
club_list = \
Membership.objects.all().filter(user=user).only("club")
context['club_list'] = ClubTable(club_list)
context['title'] = _("Account #%(id)s: %(username)s") % {
'id': user.pk,
'username': user.username,
}
return context