Beispiel #1
0
def appfind(request):
    template = os.path.join(maindir, 'templates', 'applist.jtmp')
    apps_ = apps.get_found_apps().values()
    return jutils.render_template(template, {'apps':apps_, 'addable':True})
Beispiel #2
0
def applist(request):
    template = os.path.join(maindir, 'templates', 'applist.jtmp')
    apps_ = apps.get_registered_applications().values()
    return jutils.render_template(template, {'apps':apps_, 'addable':False})