diff --git a/src/sponsors/templates/bornhack-2016-call-for-sponsors.html b/src/sponsors/templates/bornhack-2016_call_for_sponsors.html similarity index 100% rename from src/sponsors/templates/bornhack-2016-call-for-sponsors.html rename to src/sponsors/templates/bornhack-2016_call_for_sponsors.html diff --git a/src/sponsors/templates/bornhack-2016-sponsors.html b/src/sponsors/templates/bornhack-2016_sponsors.html similarity index 100% rename from src/sponsors/templates/bornhack-2016-sponsors.html rename to src/sponsors/templates/bornhack-2016_sponsors.html diff --git a/src/sponsors/templates/bornhack-2017-call-for-sponsors.html b/src/sponsors/templates/bornhack-2017_call_for_sponsors.html similarity index 100% rename from src/sponsors/templates/bornhack-2017-call-for-sponsors.html rename to src/sponsors/templates/bornhack-2017_call_for_sponsors.html diff --git a/src/sponsors/templates/bornhack-2017-sponsors.html b/src/sponsors/templates/bornhack-2017_sponsors.html similarity index 100% rename from src/sponsors/templates/bornhack-2017-sponsors.html rename to src/sponsors/templates/bornhack-2017_sponsors.html diff --git a/src/sponsors/views.py b/src/sponsors/views.py index fa9253e8..bd709166 100644 --- a/src/sponsors/views.py +++ b/src/sponsors/views.py @@ -4,11 +4,9 @@ from camps.mixins import CampViewMixin class SponsorsView(CampViewMixin, TemplateView): def get_template_names(self): - return '%s-sponsors.html' % self.camp.slug + return '%s_sponsors.html' % self.camp.slug class CallForSponsorsView(CampViewMixin, TemplateView): def get_template_names(self): - return '%s-call-for-sponsors.html' % self.camp.slug - - + return '%s_call_for_sponsors.html' % self.camp.slug