Beispiel #1
0
def html(request, name):
    t = models.fetchText(name)
    response = HttpResponse(t.html(), content_type='text/html')
    return response
Beispiel #2
0
def html(request, name):
    t = models.fetchText(name)
    response = HttpResponse(t.html(), content_type='text/html')
    return response
Beispiel #3
0
def raw(request, name):
    t = models.fetchText(name)
    response = HttpResponse(t.text, content_type='text/plain')
    return response
Beispiel #4
0
def raw(request, name):
    t = models.fetchText(name)
    response = HttpResponse(t.text, content_type='text/plain')
    return response