コード例 #1
0
ファイル: views.py プロジェクト: kishmakov/myweb
def references(request):
    dict = common_dict()
    dict['books'] = get_books()
    dict['papers'] = get_papers()
    dict['others'] = get_others()
    t = get_template('fluid/references.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #2
0
ファイル: views.py プロジェクト: kishmakov/myweb
def four_colors(request):
    dict = common_dict()
    dict['ng_state_name'] = '{{state.name}}'
    dict['ng_name'] = '{{name}}'
    dict['ng_message'] = '{{message}}'
    dict['ng_coloring_color'] = '{{coloring.color}}'
    dict['ng_coloring_name'] = '{{coloring.name}}'
    dict['ng_isocode'] = '{{isocode}}'
    t = get_template('notes/four_colors.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #3
0
ファイル: views.py プロジェクト: kishmakov/myweb
def gui(request):
    dict = common_dict()
    t = get_template('vle/pr.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #4
0
ファイル: views.py プロジェクト: kishmakov/myweb
def index(request):
    dict = common_dict()
    dict['topics'] = get_chapters()
    t = get_template('fluid/index.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #5
0
ファイル: views.py プロジェクト: kishmakov/myweb
def links(request):
    dict = common_dict()
    dict['links'] = get_links()
    t = get_template('fluid/links.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #6
0
ファイル: views.py プロジェクト: kishmakov/myweb
def data_papers(request):
    dict = common_dict()
    dict['data_papers'] = get_data_papers()
    t = get_template('fluid/data_papers.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #7
0
ファイル: views.py プロジェクト: kishmakov/myweb
def notations(request):
    dict = common_dict()
    t = get_template('fluid/notations.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #8
0
ファイル: views.py プロジェクト: kishmakov/myweb
def note(request, num):
    dict = common_dict()
    dict['chapter'] = get_chapter(num)
    t = get_template('fluid/note.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #9
0
ファイル: views.py プロジェクト: kishmakov/myweb
def th_note(request, num):
    dict = common_dict()
    dict['text'] = get_text('th', num)
    t = get_template('notes/th_note.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #10
0
ファイル: views.py プロジェクト: kishmakov/myweb
def technology(request):
    dict = common_dict()
    dict['texts'] = get_texts('th')
    t = get_template('notes/th.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))
コード例 #11
0
ファイル: views.py プロジェクト: kishmakov/myweb
def metaphysics(request):
    dict = common_dict()
    dict['texts'] = get_texts('mp')
    t = get_template('notes/mp.html')
    c = RequestContext(request, dict)
    return HttpResponse(t.render(c))