Removed the context processor for Sponspors.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Tue, 13 Jul 2010 19:57:37 +0530
changeset 95 f94e0cd9a862
parent 94 87e77aa18610
child 96 178b89a3ca4f
Removed the context processor for Sponspors.
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}
-    }
-