コード例 #1
0
ファイル: views.py プロジェクト: RichterSR/TCAuth
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))
コード例 #2
0
ファイル: views.py プロジェクト: Geabo/allianceauth
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))
コード例 #3
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
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)
コード例 #4
0
ファイル: views.py プロジェクト: Geabo/allianceauth
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))
コード例 #5
0
ファイル: views.py プロジェクト: CokkocZateki/allianceauth
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)
コード例 #6
0
ファイル: views.py プロジェクト: CokkocZateki/Auth
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)