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

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

Direct port of userservice to the new framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    'ivle.webapp.forum#Plugin',
67
67
    'ivle.webapp.help#Plugin',
68
68
    'ivle.webapp.tos#Plugin',
 
69
    'ivle.webapp.userservice#Plugin',
69
70
70
71
 
71
72
def generate_route_mapper(view_plugins):
138
139
    ### BEGIN New plugins framework ###
139
140
    # XXX This should be done ONCE per Python process, not per request.
140
141
    # (Wait till WSGI)
141
 
    # XXX No authentication is done here
142
142
    req.plugins = dict([get_plugin(pluginstr) for pluginstr in plugins_HACK])
143
143
    # Index the plugins by base class
144
144
    req.plugin_index = {}