From 58074ae62d1f8423895e8ad28bd11371627be022 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 7 Jul 2015 10:37:06 +0200 Subject: using bookmarklet for adding feed from navbar --- pyaggr3g470r/templates/layout.html | 18 ++---------------- pyaggr3g470r/views/views.py | 11 ----------- 2 files changed, 2 insertions(+), 27 deletions(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index fcdbee32..b37fb3e1 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -45,22 +45,8 @@ diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index a4e799cc..189fd53f 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -137,17 +137,6 @@ def get_timezone(): except: return conf.TIME_ZONE["en"] - -@app.context_processor -def inject_feed_form(): - """ - Injects the 'AddFeedForm' objects in all templates. - - Context processors run before the template is rendered and have the - ability to inject new values into the template context. - """ - return dict(create_feed_form=AddFeedForm()) - # # Views. # -- cgit