コード例 #1
0
ファイル: views.py プロジェクト: UGentPortaal/RGT-tool
def rgtHelp(request, helpMessageId = ''):
    if helpMessageId in HELP_MESSAGES:
        return HttpResponse(createXmlSuccessResponse(HELP_MESSAGES[helpMessageId]), content_type='application/xml')

    return HttpResponse(createXmlErrorResponse('Help topic not found'), content_type='application/xml')