- def render(self, name, value, attrs=None):
- output = [super(SponsorPageWidget, self).render(name, value, attrs)]
- sponsors = [(unicode(obj), obj.pk, obj.logo.url) for obj in models.Sponsor.objects.all().iterator()]
+ def render(self, name, value, attrs=None, renderer=None):
+ output = [super(SponsorPageWidget, self).render(name, value, attrs, renderer)]
+ sponsors = [(str(obj), obj.pk, obj.logo.url) for obj in models.Sponsor.objects.all().iterator()]