~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/security/__init__.py

Dispatch now generates an index for each plugin type, allowing plugins to
be written which are aware of other plugins, and other plugin types.

All view plugins now subclass from ivle.webapp.base.plugins.ViewPlugin,
as opposed to subclassing BasePlugin directly. This will allow us to
easily re-write console as an OverlayPlugin, and allow future new
plugins types to be created.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
# Author: William Grant
19
19
 
20
 
from ivle.webapp.base.plugins import BasePlugin
 
20
from ivle.webapp.base.plugins import ViewPlugin
21
21
from ivle.webapp.security.views import LogoutView
22
22
 
23
 
class Plugin(BasePlugin):
 
23
class Plugin(ViewPlugin):
24
24
    """
25
25
    The Plugin class for the security plugin.
26
26
    """