page title and edit buttons
This commit is contained in:
parent
826573f553
commit
26d70c4ef9
3 changed files with 14 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue