[web2py] SQLFORMGRID - CSS - LAYOUT

2019-12-04 Thread L c
Hi, Soory but i do not find answer: I did that : 1. Create a subfolder of static (example "css_template") 2. Move template files to static/css_template 3. Move static/css_template/index.html to views/layout.html 4. Edit views/layout.html to fix *href* and *src* to static files using

[web2py] Re: how to specify python3 for wsgihandler

2019-12-04 Thread David Zejda
I needed SSL with per-domain certificates. Because mod_wsgi-express, though easy to install, becomes inflexible if virtual hosts settings need to be adjusted eventually, I switched to a second instance of Apache from the system-specific packaging. The steps like this: cd /usr/share/doc/apache2

[web2py] Re: Progressive Web Apps

2019-12-04 Thread David Zejda
Hi, I use web2py to serve PWA, service worker for client-side caching and for proactive loading of contents which are likely to be requested in the next step. In routes.py I have root_static = ['favicon.ico', 'robots.txt', 'service_worker.js']. Per-app specific service worker. The script is