diff options
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r-- | pyaggr3g470r/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index fdb8fbe5..dc8a2b12 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -504,10 +504,12 @@ def edit_feed(feed_id=None): if request.method == 'GET': if feed_id != None: form = AddFeedForm(obj=feed) - return render_template('edit_feed.html', action="Edit the feed", form=form, feed=feed) + return render_template('edit_feed.html', action="Edit the feed", form=form, feed=feed, \ + not_on_heroku = not conf.ON_HEROKU) # Return an empty form in order to create a new feed - return render_template('edit_feed.html', action="Add a feed", form=form) + return render_template('edit_feed.html', action="Add a feed", form=form, \ + not_on_heroku = not conf.ON_HEROKU) @app.route('/delete_feed/<feed_id>', methods=['GET']) @login_required |