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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/views.py

  • Committer: Matt Giuca
  • Date: 2009-04-28 11:19:03 UTC
  • Revision ID: matt.giuca@gmail.com-20090428111903-murkoqeljahrp2d8
usrmgt-server: Removed all references to ivle.conf. Now uses the config
    object.
    (I created a global variable, config, just for the outermost functions to
    use. All of the other functions still use an argument version of config,
    for testing purposes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    """
22
22
    Abstract base class for all view objects.
23
23
    """
24
 
 
25
 
    subpath_allowed = False
26
 
 
27
 
    def __init__(self, req, context, subpath=None):
28
 
        self.context = context
29
 
        if self.subpath_allowed:
30
 
            self.subpath = subpath
31
 
 
32
24
    def render(self, req):
33
25
        raise NotImplementedError()
34
26