From 62bb3db8ada68a22c7a58f32b2e6bed63f19e53c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 26 Oct 2012 17:36:12 -0500 Subject: 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 --- templates/news/view.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/news/view.html') diff --git a/templates/news/view.html b/templates/news/view.html index b6c06b2..8f49fb1 100644 --- a/templates/news/view.html +++ b/templates/news/view.html @@ -1,5 +1,4 @@ {% extends "base.html" %} -{% load markup %} {% block title %}Arch Linux - News: {{ news.title }}{% endblock %} {% block content %} @@ -28,6 +27,6 @@ -
{{ news.content|markdown:'safe' }}
+
{{ news.html }}
{% endblock %} -- cgit v1.2.3-24-g4f1b