示例#1
0
def toolbox(request):
    # APPS is a dict of configured webapps, show the list sorted by "app title"
    sorted_apps = sorted(APPS.items(), key=operator.itemgetter(1))
    context = setconstants({'apps': sorted_apps}, 'listapps')
    return render(request, 'toolbox.html', context)
示例#2
0
def index(request):
    # APPS is a dict of configured webapps, show the list sorted by "app title"
    sorted_apps = sorted(APPS.items(), key=operator.itemgetter(1))
    context = setConstants({'apps': sorted_apps}, 'listapps')
    context['additionalInfo'] = AdditionalInfo.objects.filter(live=True)
    return render(request, 'toolbox.html', context)
示例#3
0
def index(request):
    # APPS is a dict of configured webapps, show the list sorted by "app title"
    sorted_apps = sorted(APPS.items(), key=operator.itemgetter(1))
    context = setConstants({'apps': sorted_apps}, 'listapps')
    context['additionalInfo'] = AdditionalInfo.objects.filter(live=True)
    return render(request, 'toolbox.html', context)
def index(request):
    # APPS is a dict of configured webapps, show the list sorted by "app title"
    sorted_apps = sorted(APPS.items(), key=operator.itemgetter(1))
    context = setconstants(request, {'apps': sorted_apps}, 'listapps')
    return render(request, 'toolbox.html', context)