[web2py] Re: CSS URL Helper

2020-05-24 Thread 'Annet' via web2py-users
When you store the css code in a view e.g. css.html and include it in a view you can do: background-image: url('{{=URL('static','images/headerback.jpg')}}'); An other option is the following: Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: __pycache__

2020-05-24 Thread 'Annet' via web2py-users
Hi Jose, Thanks for your reply, the link to the discussion on stackoverflow was very helpful. Kind regards, Annet -- 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

[web2py] simple examples are missing and broken

2020-05-24 Thread Matt Maier
I'm just getting started with web2py (on pythonanywhere). In this series of examples http://www.web2py.com/examples/default/examples I can follow along in the simple_examples controller that comes installed in the example app by default. However: Example 7 wasn't in the controller. When I copy

[web2py] Re: authentication variables in url when login is incorrect

2020-05-24 Thread egamarro dpu
I'm pretty sure Fred found the right line to fix this. Building on Fred's suggestion, I fixed it this way: < redirect(self.url(args=request.args, vars=request.vars),client_side=settings.client_side) > redirect(self.url(),client_side=settings.client_side) On Tuesday, April 28, 2020

[web2py] Web2Py Python 2 to Python3 upgrade

2020-05-24 Thread Ben Charles
I am trying to update a new install (Turnkey Linux Jessie Web2Py) from Python 2.7 to Python 3. First I updated Web2Py in the admin menu, so that the version is compatible with Python 3, then I installed libapache2-mod-wsgi-py3, and since then, upon connecting, I got this text: Internal Server

Re: [web2py] Re: I broke something

2020-05-24 Thread Vlad
I am having the exact same problem, removing session data did not help. 2.20.4-stable+timestamp.2020.05.03.05.18.50 (Running on Rocket 1.2.6, Python 3.7.2) I downloaded the latest web2py source, the app I am running was originally in python2.7, however. Are there any alternatives other than