From ce1b4b2528c413a9301a227005ba533f4c4adc2f Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 2 Dec 2016 22:21:28 -0500 Subject: [PATCH] Remove noop conservancy.context_processors imports. You'll note this source doesn't exist in Git. There's a reason for that. --- www/conservancy/apps/contacts/views.py | 1 - www/conservancy/apps/events/views.py | 1 - www/conservancy/apps/fundgoal/views.py | 1 - www/conservancy/apps/news/views.py | 1 - www/conservancy/apps/summit_registration/views.py | 1 - www/conservancy/apps/supporters/views.py | 1 - www/conservancy/feeds.py | 1 - www/conservancy/sponsors.py | 1 - 8 files changed, 8 deletions(-) diff --git a/www/conservancy/apps/contacts/views.py b/www/conservancy/apps/contacts/views.py index 5c27a2e8..53086d9c 100644 --- a/www/conservancy/apps/contacts/views.py +++ b/www/conservancy/apps/contacts/views.py @@ -1,5 +1,4 @@ from django.shortcuts import render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext from django import forms from conservancy.apps.contacts.models import ContactEntry diff --git a/www/conservancy/apps/events/views.py b/www/conservancy/apps/events/views.py index 29c85a1e..5cbf6523 100644 --- a/www/conservancy/apps/events/views.py +++ b/www/conservancy/apps/events/views.py @@ -1,6 +1,5 @@ # from django.views.generic.list_detail import object_list from django.shortcuts import render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext from django.http import Http404, HttpResponse from django.template import loader diff --git a/www/conservancy/apps/fundgoal/views.py b/www/conservancy/apps/fundgoal/views.py index 0a12c009..8a43686b 100644 --- a/www/conservancy/apps/fundgoal/views.py +++ b/www/conservancy/apps/fundgoal/views.py @@ -1,6 +1,5 @@ from conservancy.apps.fundgoal.models import FundraisingGoal from django.shortcuts import get_object_or_404, render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext from django.http import JsonResponse diff --git a/www/conservancy/apps/news/views.py b/www/conservancy/apps/news/views.py index a70a5c45..d38650af 100644 --- a/www/conservancy/apps/news/views.py +++ b/www/conservancy/apps/news/views.py @@ -1,7 +1,6 @@ # from django.views.generic.list_detail import object_list from django.views.generic import ListView from django.template import RequestContext -from conservancy import context_processors as context_processors from django.shortcuts import render_to_response from django.views.generic.dates import YearArchiveView, MonthArchiveView, DayArchiveView, DateDetailView from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger diff --git a/www/conservancy/apps/summit_registration/views.py b/www/conservancy/apps/summit_registration/views.py index f0ff9380..fec386a4 100644 --- a/www/conservancy/apps/summit_registration/views.py +++ b/www/conservancy/apps/summit_registration/views.py @@ -1,5 +1,4 @@ from django.shortcuts import render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext from django import forms from django.template import RequestContext diff --git a/www/conservancy/apps/supporters/views.py b/www/conservancy/apps/supporters/views.py index d4e3cac5..74abf857 100644 --- a/www/conservancy/apps/supporters/views.py +++ b/www/conservancy/apps/supporters/views.py @@ -1,5 +1,4 @@ from conservancy.apps.supporters.models import Supporter from django.shortcuts import get_object_or_404, render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext diff --git a/www/conservancy/feeds.py b/www/conservancy/feeds.py index 83b30b99..93867159 100644 --- a/www/conservancy/feeds.py +++ b/www/conservancy/feeds.py @@ -2,7 +2,6 @@ from django.contrib.syndication.views import Feed from django.utils.feedgenerator import Rss201rev2Feed from conservancy.apps.news.models import PressRelease from conservancy.apps.blog.models import Entry as BlogEntry -from conservancy import context_processors as context_processors from django.template import RequestContext from django.shortcuts import render_to_response from django.conf import settings diff --git a/www/conservancy/sponsors.py b/www/conservancy/sponsors.py index e023e34d..46fe9cc5 100644 --- a/www/conservancy/sponsors.py +++ b/www/conservancy/sponsors.py @@ -1,5 +1,4 @@ from django.shortcuts import render_to_response -from conservancy import context_processors as context_processors from django.template import RequestContext from conservancy.apps.supporters.models import Supporter as Supporter from datetime import datetime, timedelta