From 3e2e4d4ef8910351910d633d17f8b4e9c0ea4c74 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 24 Mar 2012 12:37:19 -0500 Subject: Convert STATIC_URL usage to {% static %} template tag This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee --- templates/news/add.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/news') diff --git a/templates/news/add.html b/templates/news/add.html index dca8fe8..5109465 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% block title %}Arch Linux - News: {% if form.instance.id %}Edit{% else %}Add{% endif %} Article{% endblock %} {% block content %} @@ -33,7 +34,7 @@
{% load cdn %}{% jquery %} - + -- cgit v1.2.3-24-g4f1b