projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd73391
)
Fix #1039 - Fix typo in user model 'oublished' to 'published'
author
Jessica Tallon
<jessica@megworld.co.uk>
Thu, 20 Nov 2014 10:14:43 +0000
(10:14 +0000)
committer
Jessica Tallon
<jessica@megworld.co.uk>
Thu, 20 Nov 2014 10:14:43 +0000
(10:14 +0000)
mediagoblin/db/models.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/db/models.py
b/mediagoblin/db/models.py
index 4e733fa3dabac32781e63954727ad6d5867fe39e..2de319d6702584c83c13924d673a6e8ca6d3ea1a 100644
(file)
--- a/
mediagoblin/db/models.py
+++ b/
mediagoblin/db/models.py
@@
-216,7
+216,7
@@
class User(Base, UserMixin):
published = UTC.localize(self.created)
user = {
"id": "acct:{0}@{1}".format(self.username, request.host),
- "
o
ublished": published.isoformat(),
+ "
p
ublished": published.isoformat(),
"preferredUsername": self.username,
"displayName": "{0}@{1}".format(self.username, request.host),
"objectType": self.object_type,