diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-12 21:44:20 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-14 08:49:15 +0200 |
commit | dc0cf1a2789293bb3459ea8fe1f611edda075eba (patch) | |
tree | af1755fb38baac94c3efa37eacc11e0d04c2a6dc /pyaggr3g470r/views/feed.py | |
parent | Removed a link pointing to a deleted page. (diff) | |
download | newspipe-dc0cf1a2789293bb3459ea8fe1f611edda075eba.tar.gz newspipe-dc0cf1a2789293bb3459ea8fe1f611edda075eba.tar.bz2 newspipe-dc0cf1a2789293bb3459ea8fe1f611edda075eba.zip |
redoing conf gathering and using it in templates
Diffstat (limited to 'pyaggr3g470r/views/feed.py')
-rw-r--r-- | pyaggr3g470r/views/feed.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py index 846df06d..11d14ac2 100644 --- a/pyaggr3g470r/views/feed.py +++ b/pyaggr3g470r/views/feed.py @@ -175,9 +175,8 @@ def form(feed_id=None): form = AddFeedForm(obj=feed) return render_template('edit_feed.html', action=gettext("Edit the feed"), - form=form, feed=feed, - not_on_heroku=not conf.ON_HEROKU) + form=form, feed=feed) # Return an empty form in order to create a new feed return render_template('edit_feed.html', action=gettext("Add a feed"), - form=form, not_on_heroku=not conf.ON_HEROKU) + form=form) |