diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-01-15 23:31:40 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-01-15 23:31:40 +0100 |
commit | 982bfb529ddb1a836708556823e4f8f24faa5691 (patch) | |
tree | d623701e5bdd46c07cd7746477fe885e55589bdf | |
parent | Merged in jaesivsm/pyaggr3g470r/update/style (pull request #5) (diff) | |
download | newspipe-982bfb529ddb1a836708556823e4f8f24faa5691.tar.gz newspipe-982bfb529ddb1a836708556823e4f8f24faa5691.tar.bz2 newspipe-982bfb529ddb1a836708556823e4f8f24faa5691.zip |
Order feeds by title for the HTML export.
-rw-r--r-- | pyaggr3g470r/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/export.py b/pyaggr3g470r/export.py index ccad3005..54b0be13 100644 --- a/pyaggr3g470r/export.py +++ b/pyaggr3g470r/export.py @@ -144,7 +144,7 @@ def export_html(user): index = HTML_HEADER("News archive") index += "<h1>List of feeds</h1>\n" index += """<p>%s articles.</p>\n<ul>\n""" % (nb_articles,) - for feed in user.feeds: + for feed in user.feeds.order_by(models.Feed.title): # creates a folder for each stream feed_folder = webzine_root + str(feed.id) try: |