~madjar/wikkid/plugin

« back to all changes in this revision

Viewing changes to wikkid/dispatcher.py

Show who last modified the file and when on the normal wiki page - Martin Albisetti.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    for interface in interfaces:
33
33
        try:
34
34
            klass = _VIEW_REGISTRY[(interface, view_name)]
35
 
            return klass(obj, request, user)
 
35
            instance = klass(obj, request, user)
 
36
            instance.initialize()
 
37
            return instance
36
38
        except KeyError:
37
39
            pass
38
40
    # For example, if someone asked for 'raw' view on a directory or binary