Use os.path.join() to build path
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
I found out that setting adding a slash in the path fixes the behaviour:
Field('logo', 'upload', uploadfolder=request.folder+'*/*static/images'),
instead of
Field('footer', 'upload', uploadfolder=request.folder+'static/images'),
Does anyone know why all this is?
Am Sonntag, 24. November
2 matches
Mail list logo