[damned-lies] Fixed language feed URL
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fixed language feed URL
- Date: Thu, 26 Jul 2018 07:21:25 +0000 (UTC)
commit f1a268d0a16c706a1925849497f663fb92d36c87
Author: Claude Paroz <claude 2xlibre net>
Date: Thu Jul 26 09:20:40 2018 +0200
Fixed language feed URL
feeds/urls.py | 2 +-
templates/languages/language_list.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/feeds/urls.py b/feeds/urls.py
index fad94ff4..d0053186 100644
--- a/feeds/urls.py
+++ b/feeds/urls.py
@@ -3,6 +3,6 @@ from vertimus.feeds import LatestActionsByLanguage, LatestActionsByTeam
urlpatterns = [
- path('languages/<locale:locale>)/', LatestActionsByLanguage(), name='lang_feed'),
+ path('languages/<locale:locale>/', LatestActionsByLanguage(), name='lang_feed'),
path('teams/<locale:team_name>/', LatestActionsByTeam(), name='team_feed'),
]
diff --git a/templates/languages/language_list.html b/templates/languages/language_list.html
index 306a5c1b..bf234e01 100644
--- a/templates/languages/language_list.html
+++ b/templates/languages/language_list.html
@@ -20,7 +20,7 @@
<ul>
{% for lang in col %}
<li>
- <a href="/rss/languages/{{ lang.locale }}">
+ <a href="{% url 'lang_feed' lang.locale %}">
<img width="10" height="10"
src="{{ STATIC_URL }}img/feed-icon-10x10.png"
alt="{% blocktrans %}RSS feed for {{ lang.get_name }}{% endblocktrans %}"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]