{% url 'djangocms_blog:posts-category' %} does not honor the app config.
In case of multiple app configs, {% url .. %} points to the first config only
This commit is contained in:
parent
c1c8fc905b
commit
e12705e6c5
|
@ -3,7 +3,7 @@
|
|||
<h3>{% trans "Categories" %}</h3>
|
||||
<ul class="blog-categories">
|
||||
{% for category in categories %}
|
||||
<li><a href="{% url 'djangocms_blog:posts-category' category=category.slug %}" class="blog-categories-{{ category.count }}">
|
||||
<li><a href="{{ category.get_absolute_url }}" class="blog-categories-{{ category.count }}">
|
||||
{{ category.name }}
|
||||
<span>(
|
||||
{% if category.count > 0 %}
|
||||
|
|
Loading…
Reference in New Issue