Parent: [c75016] (diff)

Child: [46fe43] (diff)

Download this file

app.py    19 lines (15 with data), 482 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class Application(object):
'base pyforge pluggable application'
__version__ = None
default_config = {}
templates=None
root=None # root controller
admin=None # admin controller
def __init__(self, config):
self.config = config
def install(self, project):
'Whatever logic is required to initially set up a plugin'
pass
def uninstall(self, project):
'Whatever logic is required to tear down a plugin'
pass