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.
This commit is contained in:
Elrond
2012-02-04 20:55:55 +01:00
parent 38816c6607
commit e61ab0998b
6 changed files with 17 additions and 6 deletions

View File

@@ -171,8 +171,6 @@ def edit_profile(request):
user.url = unicode(request.POST['url'])
user.bio = unicode(request.POST['bio'])
user.bio_html = cleaned_markdown_conversion(user.bio)
user.save()
messages.add_message(request,