From 881ba100b6bd8bbfa3543773056959d68d8cfdcc Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 23 Apr 2014 07:26:48 +0200 Subject: Bug fix. --- pyaggr3g470r/templates/articles.html | 2 +- pyaggr3g470r/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html index d2da6d18..eecb9579 100644 --- a/pyaggr3g470r/templates/articles.html +++ b/pyaggr3g470r/templates/articles.html @@ -2,7 +2,7 @@ {% block content %}
-

{{ feed.title|safe }}

+

{{ feed.title|safe }}

{% if nb_articles == 10**9 %} diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 4501a6dd..8ec3978f 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -335,6 +335,7 @@ def articles(feed_id=None, nb_articles=-1): new_feed = Feed() new_feed.id = feed.id new_feed.title = feed.title + new_feed.site_link = feed.site_link if len(feed.articles.all()) <= nb_articles: nb_articles = -1 if nb_articles == -1: -- cgit