fix template names in sponsor app for consistency

This commit is contained in:
Stephan Telling 2017-06-04 13:05:59 +02:00
parent dd736066f7
commit 6cf4e9577b
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B
5 changed files with 2 additions and 4 deletions

View file

@ -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