# HG changeset patch # User Madhusudan.C.S # Date 1279031257 -19800 # Node ID f94e0cd9a8625d5a015a8fa0e8c8820292cf6ff7 # Parent 87e77aa18610b443b3edd8fa36e0e8c995428761 Removed the context processor for Sponspors. diff -r 87e77aa18610 -r f94e0cd9a862 project/scipycon/context_processors.py --- a/project/scipycon/context_processors.py Tue Jul 13 17:59:47 2010 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -from datetime import datetime - -from django.conf import settings - -from project.kiwipycon.sponsor.models import Sponsor - -def sponsors(request): - sponsors = Sponsor.objects.all() - gold_sponsors = sponsors.filter(type='gold') - silver_sponsors = sponsors.filter(type='silver') - schwag_sponsors = sponsors.filter(type='schwag') - return { - 'sponsors': {'gold': gold_sponsors, - 'silver': silver_sponsors, - 'schwag': schwag_sponsors} - } -