97
98
req.throw_error(Request.HTTP_NOT_FOUND,
98
99
"There is no application called %s." % repr(req.app))
101
103
# NOTE: This will not behave correctly if the public app uses
102
104
# write_html_head_foot, but "serve" does not.
104
109
app = conf.apps.app_url[conf.apps.public_app]
105
110
apps.call_app(app.dir, req)