aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/models.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-02-13 13:42:59 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-02-18 12:41:25 +0100
commit1e72e075f8d542f4aa1ad0262f4fd1a5645cc731 (patch)
tree71a3dc08526cdb88452daeae939c7a9263a766c1 /mediagoblin/db/sql/models.py
parente61ab0998b77eaf18268001fd2d70917c3cd3e37 (diff)
downloadmediagoblin-1e72e075f8d542f4aa1ad0262f4fd1a5645cc731.tar.lz
mediagoblin-1e72e075f8d542f4aa1ad0262f4fd1a5645cc731.tar.xz
mediagoblin-1e72e075f8d542f4aa1ad0262f4fd1a5645cc731.zip
Drop pre-rendered html: MediaEntry.description_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 MediaEntry.description_html part.
Diffstat (limited to 'mediagoblin/db/sql/models.py')
-rw-r--r--mediagoblin/db/sql/models.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mediagoblin/db/sql/models.py b/mediagoblin/db/sql/models.py
index 3cf4ff40..72591f4e 100644
--- a/mediagoblin/db/sql/models.py
+++ b/mediagoblin/db/sql/models.py
@@ -85,7 +85,6 @@ class MediaEntry(Base, MediaEntryMixin):
slug = Column(Unicode)
created = Column(DateTime, nullable=False, default=datetime.datetime.now)
description = Column(UnicodeText) # ??
- description_html = Column(UnicodeText) # ??
media_type = Column(Unicode, nullable=False)
state = Column(Unicode, default=u'unprocessed', nullable=False)
# or use sqlalchemy.types.Enum?