aboutsummaryrefslogtreecommitdiff
path: root/weblog/templates
diff options
context:
space:
mode:
authorYaroslav de la Peña <contact@yaroslavps.com>2018-07-19 22:52:35 +0300
committerYaroslav de la Peña <contact@yaroslavps.com>2018-07-19 22:52:35 +0300
commitf08af5db27fcda1d3b3bd7d176ace2141488b6ac (patch)
treec80d67bc88813a6f8a4f97d5fb7e7a07ace1abe5 /weblog/templates
parentadb87583cc63ca228a6492dc641f3e1389edc629 (diff)
downloadw3blog-f08af5db27fcda1d3b3bd7d176ace2141488b6ac.tar.gz
w3blog-f08af5db27fcda1d3b3bd7d176ace2141488b6ac.zip
bug fix, deprecated is_authenticated() not compatible with django 2.0
Diffstat (limited to 'weblog/templates')
-rwxr-xr-xweblog/templates/weblog/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html
index 623a7d1..ea2cd98 100755
--- a/weblog/templates/weblog/post.html
+++ b/weblog/templates/weblog/post.html
@@ -25,7 +25,7 @@
{% endif %}
{% if post_categories %}
<hr>
- <p>{% trans 'Categories' context 'Post categories' %}:
+ <p class="categories">{% trans 'Categories' context 'Post categories' %}:
{% for post_category in post_categories %}
<a class="label label-info" href="{% url 'weblog:CategoryIndex' category_slug=post_category.slug %}">{{ post_category.name }}</a>
{% endfor %}