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

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/__init__.py

Require that plugins providing media subclass MediaPlugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
take place in the FileService app (for handling Ajax requests).
27
27
"""
28
28
 
29
 
from ivle.webapp.base.plugins import ViewPlugin, CookiePlugin
 
29
from ivle.webapp.base.plugins import ViewPlugin, CookiePlugin, MediaPlugin
30
30
from ivle.webapp.base.xhtml import XHTMLView
31
31
 
32
32
import os.path
151
151
          ])
152
152
        ]
153
153
 
154
 
class Plugin(ViewPlugin, CookiePlugin):
 
154
class Plugin(ViewPlugin, CookiePlugin, MediaPlugin):
155
155
    """
156
156
    The Plugin class for the user plugin.
157
157
    """