Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
beb68ab2
Unverified
Commit
beb68ab2
authored
Aug 13, 2016
by
Thom Wiggers
📐
Browse files
Allow fallback to username
Closes
#37
parent
5f24f571
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/members/models.py
View file @
beb68ab2
...
...
@@ -252,7 +252,7 @@ class Member(models.Model):
return
"'{}' {}"
.
format
(
self
.
nickname
,
self
.
user
.
last_name
)
else
:
return
self
.
get_full_name
()
return
self
.
get_full_name
()
or
self
.
user
.
username
display_name
.
short_description
=
_
(
'Display name'
)
def
get_full_name
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment