projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d461fbe
)
Fixes problem where full URL was being used inplace of host
author
xray7224
<jessica@megworld.co.uk>
Mon, 2 Sep 2013 15:23:40 +0000
(16:23 +0100)
committer
Jessica Tallon
<jessica@megworld.co.uk>
Tue, 22 Jul 2014 22:13:14 +0000
(23:13 +0100)
mediagoblin/db/models.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/db/models.py
b/mediagoblin/db/models.py
index ca4efdd17627579333753399293054fa82db39ff..91efc0b649140014060bfb4a2da20c8ad55ce0d4 100644
(file)
--- a/
mediagoblin/db/models.py
+++ b/
mediagoblin/db/models.py
@@
-141,7
+141,7
@@
class User(Base, UserMixin):
user = {
"id": "acct:{0}@{1}".format(self.username, request.host),
"preferredUsername": self.username,
- "displayName": "{0}@{1}".format(self.username, request.
url
),
+ "displayName": "{0}@{1}".format(self.username, request.
host
),
"objectType": "person",
"url": self.url,
"summary": self.bio,