Missing @Text_only decorator
Opened this issue · 0 comments
chiond commented
There is no way to return plain text from a end point (@no_template
seams to be dedicated to redirect...)
Here is my dream @text_only decorator
@action(route="/test")
@text_only()
def test(request):
return "this is just a text to be returned as text/plain content"