search for: samplecontroller

Displaying 2 results from an estimated 2 matches for "samplecontroller".

Did you mean: samplescontroller
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
...mport expose +#from tg import redirect, validate, flash + +# third party imports +#from pylons.i18n import ugettext as _ +#from repoze.what import predicates + +# project specific imports +from ovirtserver.lib.base import BaseController +#from ovirtserver.model import DBSession, metadata + + +class SampleController(BaseController): + + @expose('ovirtserver.templates.index') + def index(self): + return dict(page='index') diff --git a/server/ovirtserver/controllers/error.py b/server/ovirtserver/controllers/error.py new file mode 100644 index 0000000..6a14218 --- /dev/null +++ b/serv...
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...mport expose -#from tg import redirect, validate, flash - -# third party imports -#from pylons.i18n import ugettext as _ -#from repoze.what import predicates - -# project specific imports -from ovirtserver.lib.base import BaseController -#from ovirtserver.model import DBSession, metadata - - -class SampleController(BaseController): - - @expose('ovirtserver.templates.index') - def index(self): - return dict(page='index') diff --git a/server/ovirtserver/controllers/error.py b/server/ovirtserver/controllers/error.py deleted file mode 100644 index 6a14218..0000000 --- a/server/ovirtse...