22
22
# Loads IVLE applications.
23
23
# All sub-packages in this package are apps.
25
27
def call_app(appname, req):
26
28
"""Calls an application with the given name. Passes req to the app's
29
31
# level=-1 to make it look in the right directory
30
32
app_module = __import__(appname, globals(), locals(), [], -1)
32
35
# Any problems meant it's a server error, because conf/apps.py said
33
36
# this app would be here.