summaryrefslogtreecommitdiffstats
path: root/templates/feeds
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-27 00:36:12 +0200
committerDan McGee <dan@archlinux.org>2012-10-27 00:36:12 +0200
commit62bb3db8ada68a22c7a58f32b2e6bed63f19e53c (patch)
treef2239c8c288f9364527e53bb8a5bf6dde39f67af /templates/feeds
parentbdee24b9d1279de67dd238e3644c2efff314bd7b (diff)
downloadarchweb-62bb3db8ada68a22c7a58f32b2e6bed63f19e53c.tar.gz
archweb-62bb3db8ada68a22c7a58f32b2e6bed63f19e53c.tar.xz
Remove usages of 'django.contrib.markup'
Switch to the news model being able to spit out the HTML version of the content, and don't use the markup contrib module. This is deprecated as of Django 1.5 so we can move off it now to save trouble down the road when it is fully removed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/feeds')
-rw-r--r--templates/feeds/news_description.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/feeds/news_description.html b/templates/feeds/news_description.html
index 7783036..d3caceb 100644
--- a/templates/feeds/news_description.html
+++ b/templates/feeds/news_description.html
@@ -1,3 +1,2 @@
-{% load markup %}
<p>{{obj.author.get_full_name}} wrote:</p>
-{{ obj.content|markdown:'safe' }}
+{{ obj.content.html }}