diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-02-04 20:55:55 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-02-18 12:35:30 +0100 |
commit | e61ab0998b77eaf18268001fd2d70917c3cd3e37 (patch) | |
tree | 78b034c490a8c8cdbe880c8b1327ef1c4eb8e1a2 /mediagoblin/db/mongo/models.py | |
parent | 38816c66078fe679dc4b51b545d15d331712bcb4 (diff) | |
download | mediagoblin-e61ab0998b77eaf18268001fd2d70917c3cd3e37.tar.lz mediagoblin-e61ab0998b77eaf18268001fd2d70917c3cd3e37.tar.xz mediagoblin-e61ab0998b77eaf18268001fd2d70917c3cd3e37.zip |
Drop pre-rendered html: User.bio_html
After a bit of discussion, we decided to drop the
pre-rendered html from the database and render it on
the fly.
In another step, we will use some proper caching method to
cache this stuff.
This commit affects the User.bio_html part.
Diffstat (limited to 'mediagoblin/db/mongo/models.py')
-rw-r--r-- | mediagoblin/db/mongo/models.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mediagoblin/db/mongo/models.py b/mediagoblin/db/mongo/models.py index 541086bc..c1282f4a 100644 --- a/mediagoblin/db/mongo/models.py +++ b/mediagoblin/db/mongo/models.py @@ -59,7 +59,6 @@ class User(Document, UserMixin): - is_admin: Whether or not this user is an administrator or not. - url: this user's personal webpage/website, if appropriate. - bio: biography of this user (plaintext, in markdown) - - bio_html: biography of the user converted to proper HTML. """ __collection__ = 'users' use_dot_notation = True @@ -76,7 +75,6 @@ class User(Document, UserMixin): 'is_admin': bool, 'url': unicode, 'bio': unicode, # May contain markdown - 'bio_html': unicode, # May contain plaintext, or HTML 'fp_verification_key': unicode, # forgotten password verification key 'fp_token_expire': datetime.datetime, } |