Mercurial > public > sg101
diff sg101/templates/news/index.html @ 1018:02ae9a4a846a
ManifestStaticFilesStorage: get rid of STATIC_URL in templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 21:49:39 -0600 |
parents | 69e8aa135c2e |
children | 97f92a589de7 |
line wrap: on
line diff
--- a/sg101/templates/news/index.html Sun Dec 06 14:48:30 2015 -0600 +++ b/sg101/templates/news/index.html Sun Dec 06 21:49:39 2015 -0600 @@ -1,8 +1,9 @@ {% extends 'news/base.html' %} {% load script_tags %} +{% load static from staticfiles %} {% block title %}News: {{ title }}{% endblock %} {% block news_css %} -<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" /> +<link rel="stylesheet" type="text/css" href="{% static "css/pagination.css" %}" /> {% endblock %} {% block news_content %} <h3>{{ title }}</h3>