Пример #1
0
 def _process(self):
     form = CSSSelectionForm(event=self.event, formdata=request.args, csrf_enabled=False)
     css_url = None
     if form.validate():
         css_url = get_css_url(self.event, force_theme=form.theme.data, for_preview=True)
     return WPConferenceDisplay(self, self.event, css_override_form=form, css_url_override=css_url).display()
Пример #2
0
 def _display_conference(self):
     """Display the conference overview page."""
     return WPConferenceDisplay(self, self.event).display()