def fleetup_doctrine(request, doctrinenumber): logger.debug("fleetup_doctrine called by user %s" % request.user) doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = {"doctrine": doctrine} return render_to_response('registered/fleetupdoctrine.html', context, context_instance=RequestContext(request))
def fleetup_fitting(request, fittingnumber): logger.debug("fleetup_fitting called by user %s" % request.user) fitting_eft = FleetUpManager.get_fleetup_fitting_eft(fittingnumber) fitting_data = FleetUpManager.get_fleetup_fitting(fittingnumber) doctrinenumber = FleetUpManager.get_fleetup_doctrineid(fittingnumber) doctrines_list = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = {"fitting_eft": fitting_eft, "fitting_data": fitting_data, "doctrines_list": doctrines_list} return render_to_response("registered/fleetupfitting.html", context, context_instance=RequestContext(request))
def fleetup_fitting(request, fittingnumber): logger.debug("fleetup_fitting called by user %s" % request.user) fitting_eft = FleetUpManager.get_fleetup_fitting_eft(fittingnumber) fitting_data = FleetUpManager.get_fleetup_fitting(fittingnumber) doctrinenumber = FleetUpManager.get_fleetup_doctrineid(fittingnumber) doctrines_list = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = { "fitting_eft": fitting_eft, "fitting_data": fitting_data, "doctrines_list": doctrines_list } return render(request, 'registered/fleetupfitting.html', context=context)
def fleetup_doctrine(request, doctrinenumber): logger.debug("fleetup_doctrine called by user %s" % request.user) doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = {"doctrine": doctrine} return render_to_response("registered/fleetupdoctrine.html", context, context_instance=RequestContext(request))
def fleetup_doctrine(request, doctrinenumber): logger.debug("fleetup_doctrine called by user %s" % request.user) doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = {"doctrine": doctrine} return render(request, "registered/fleetupdoctrine.html", context=context)
def fleetup_doctrine(request, doctrinenumber): logger.debug("fleetup_doctrine called by user %s" % request.user) doctrine = FleetUpManager.get_fleetup_doctrine(doctrinenumber) context = {"doctrine": doctrine} return render(request, 'registered/fleetupdoctrine.html', context=context)