bornhack-website/src/sponsors/views.py

13 lines
373 B
Python
Raw Normal View History

2016-12-28 23:15:13 +00:00
from django.views.generic import TemplateView
from camps.mixins import CampViewMixin
class SponsorsView(CampViewMixin, TemplateView):
def get_template_names(self):
return '%s_sponsors.html' % self.camp.slug
2016-12-28 23:15:13 +00:00
class CallForSponsorsView(CampViewMixin, TemplateView):
def get_template_names(self):
return '%s_call_for_sponsors.html' % self.camp.slug