Quantcast
Channel: User Bazinga - Stack Overflow
Viewing all articles
Browse latest Browse all 37

App Config in web2py

$
0
0

I am using Flask in my app in python. Now I am moving to Web2py.

I am confused where app.config for Flask was set in Web2py.

For example:

app.config['FOLDER'] = 'new/'

Other things I am having trouble is what is

redirect(url_for('file', filename=filename)) of Flask in Web2py. In this I am redirecting to function file with file_name as parameter

Thanks for the help.


Viewing all articles
Browse latest Browse all 37

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>