fix call for speakers
This commit is contained in:
parent
1908c18530
commit
edc37243e3
|
@ -115,16 +115,16 @@ urlpatterns = [
|
||||||
EventListView.as_view(),
|
EventListView.as_view(),
|
||||||
name='event_index'
|
name='event_index'
|
||||||
),
|
),
|
||||||
|
url(
|
||||||
|
r'^call/$',
|
||||||
|
CallForSpeakersView.as_view(),
|
||||||
|
name='call_for_speakers'
|
||||||
|
),
|
||||||
url(
|
url(
|
||||||
r'^(?P<slug>[-_\w+]+)/$',
|
r'^(?P<slug>[-_\w+]+)/$',
|
||||||
EventDetailView.as_view(),
|
EventDetailView.as_view(),
|
||||||
name='event_detail'
|
name='event_detail'
|
||||||
),
|
),
|
||||||
url(
|
|
||||||
r'^call-for-speakers/$',
|
|
||||||
CallForSpeakersView.as_view(),
|
|
||||||
name='call_for_speakers'
|
|
||||||
),
|
|
||||||
])
|
])
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,6 @@ class EventDetailView(CampViewMixin, DetailView):
|
||||||
|
|
||||||
class CallForSpeakersView(CampViewMixin, TemplateView):
|
class CallForSpeakersView(CampViewMixin, TemplateView):
|
||||||
def get_template_names(self):
|
def get_template_names(self):
|
||||||
return 'call_for_speakers_%s.html' % self.get_object().slug
|
return 'call_for_speakers_%s.html' % self.camp.slug
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue