Event Management

class indico.modules.events.management.controllers.RHManageEventBase

Bases: indico.legacy.webinterface.rh.conferenceBase.RHConferenceBase, indico.legacy.webinterface.rh.base.RHModificationBaseProtected

Base class for event management RHs

class indico.modules.events.management.views.WPEventManagement(rh, event_, active_menu_item=None, **kwargs)

Bases: indico.legacy.webinterface.pages.base.WPJinjaMixin, indico.legacy.webinterface.pages.main.WPMainBase

Base class for event management pages.

When using this class the template will always have event available; it is not necessary to pass it as a kwarg when calling the render_template classmethod.

When using the class directly, pass the menu item as a posarg:

return WPEventManagement.render_template('foobar.html', self.event, 'foobar',
                                         foo='bar')

When subclassing you can set sidemenu_option on the class, allowing you to omit it. This is recommended if you have many pages using the same menu item or if you already need to subclass for some other reason (e.g. to set a template_prefix or include additional JS/CSS bundles):

return WPSomething.render_template('foobar.html', self.event,
                                   foo='bar')