diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-26 19:35:07 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2013-12-26 19:35:07 +0100 |
commit | 6b639d83c564eb60cb93e23959a9b4c064298f0c (patch) | |
tree | 837c57843d6df2f1d16853f9db12542eecf9cc4b /pyaggr3g470r | |
parent | Added log info message for new articles. (diff) | |
download | newspipe-6b639d83c564eb60cb93e23959a9b4c064298f0c.tar.gz newspipe-6b639d83c564eb60cb93e23959a9b4c064298f0c.tar.bz2 newspipe-6b639d83c564eb60cb93e23959a9b4c064298f0c.zip |
Rederict to the page edit_feed.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index c30c9983..29965da8 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -330,7 +330,7 @@ def edit_feed(feed_id=None): form.populate_obj(feed) user.save() flash('Feed "' + feed.title + '" successfully updated', 'success') - return redirect('/feed/'+feed_id) + return redirect('/edit_feed/'+feed_id) else: # Create a new feed if len([feed for feed in user.feeds if feed.link == form.link.data]) == 0: |