def fleetup_fittings(request): logger.debug("fleetup_fittings called by user %s" % request.user) fitting_list = FleetUpManager.get_fleetup_fittings() context = {"fitting_list": sorted(fitting_list.items())} return render_to_response('registered/fleetupfittingsview.html', context, context_instance=RequestContext(request))
def fleetup_fittings(request): logger.debug("fleetup_fittings called by user %s" % request.user) fitting_list = FleetUpManager.get_fleetup_fittings() context = {"fitting_list": sorted(fitting_list.items())} return render(request, 'registered/fleetupfittingsview.html', context=context)
def fleetup_fittings(request): logger.debug("fleetup_fittings called by user %s" % request.user) fitting_list = FleetUpManager.get_fleetup_fittings() context = {"fitting_list": sorted(fitting_list.items())} return render_to_response("registered/fleetupfittingsview.html", context, context_instance=RequestContext(request))
def fleetup_fittings(request): logger.debug("fleetup_fittings called by user %s" % request.user) fitting_list = FleetUpManager.get_fleetup_fittings() context = {"fitting_list": sorted(fitting_list.items())} return render(request, "registered/fleetupfittingsview.html", context=context)