i have a file located under static folder that i want to return as view
i tried this:
def myfunction():
response.view = 'static/tinymce/jscripts/tiny_mce/plugins/files.html'
return dict()
but doesnt workt
any ideas?
if you are on linux, try:
def myfunction():
response.view = *'../*
static/tinymce/jscripts/tiny_mce/plugins/files.html'
return dict()
response.render uses /view as root folder, so you can navigate from there.
On Thu, Apr 26, 2012 at 4:53 PM, CtrlSoft zerooo...@gmail.com wrote:
def
Good point. I think that should work on Windows as well.
Anthony
On Thursday, April 26, 2012 4:32:45 PM UTC-4, rochacbruno wrote:
if you are on linux, try:
def myfunction():
response.view = *'../*
static/tinymce/jscripts/tiny_mce/plugins/files.html'
return dict()
thanks. works also on windows,
http://agsystem.md/
On Thursday, April 26, 2012 11:32:45 PM UTC+3, rochacbruno wrote:
if you are on linux, try:
def myfunction():
response.view = *'../*
static/tinymce/jscripts/tiny_mce/plugins/files.html'
return dict()
4 matches
Mail list logo