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