[web2py] run controller function and ommit models?

2016-10-18 Thread Mirek Zvolský
Hi, I am trying implement fine-uploader for upload files (used in import from other software). Fine-uploader generates lot of ajax calls with each chunk of each imported file. These Ajax calls just need read and save the chunk (or join chunks with the last call). They don't need any model. I h

[web2py] run controller function and ommit models?

2016-10-19 Thread Nico de Groot
You could use conditional models. Just make an empty folder in /models with the name of a (new) controller. Put the functions that don't need any models inside that controller. See http://www.web2py.com/books/default/search/29?search=Conditional+models Nico de Groot -- Resources: - http://w