fix template names in sponsor app for consistency
This commit is contained in:
parent
dd736066f7
commit
6cf4e9577b
|
@ -4,11 +4,9 @@ from camps.mixins import CampViewMixin
|
||||||
|
|
||||||
class SponsorsView(CampViewMixin, TemplateView):
|
class SponsorsView(CampViewMixin, TemplateView):
|
||||||
def get_template_names(self):
|
def get_template_names(self):
|
||||||
return '%s-sponsors.html' % self.camp.slug
|
return '%s_sponsors.html' % self.camp.slug
|
||||||
|
|
||||||
|
|
||||||
class CallForSponsorsView(CampViewMixin, TemplateView):
|
class CallForSponsorsView(CampViewMixin, TemplateView):
|
||||||
def get_template_names(self):
|
def get_template_names(self):
|
||||||
return '%s-call-for-sponsors.html' % self.camp.slug
|
return '%s_call_for_sponsors.html' % self.camp.slug
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue