Re: [web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread Jim Steil
Ok, still a little confused. You have 3 {{pass}} statements in the file but only 2 conditional (for) statements. Is the other {{pass}} ending a for or if started in the main template, layout.html? Also, I'm seeing things confusing me further. For example, you have these 2 statements: {{for

[web2py] Re: Django guys get a job easily. Why don't web2py guys get a job? How to get a job?

2017-10-24 Thread pbreit
I'd recommend everyone here to at least go through the Django tutorial to at least see how Django does things. -- 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

Re: [web2py] Re: migrating database and updating it

2017-10-24 Thread Alex Glaros
I'm a beginner but seems like you should create your new version to first be exact duplicate of the original, pg_restore db to the new version, make sure it's working like old one, THEN change DAL tables, then run migrate = True. (I haven't needed to run fake_migrate in these situations)

Re: [web2py] Re: maybe too many db connections todb on pythonanywhere

2017-10-24 Thread Manuele Pesenti
Il 24/10/17 13:47, Giles Thomas ha scritto: > Hi Manuele, > > PythonAnywhere dev here: there's no extra cost if you want to increase > the maximum number of Postgres connections -- just follow the > instructions on this help > page: https://help.pythonanywhere.com/pages/PostgresConnections/.   >

[web2py] sistemExit during scheduler execution

2017-10-24 Thread Manuele Pesenti
Hi *! What could be the reason of the subsequant traceback during a scheduler function execution? "Traceback (most recent call last):  File "/home/colouree/web2py/gluon/scheduler.py", line 293, in executor    _env = env(a=a, c=c, import_models=True)  File "/home/colouree/web2py/gluon/shell.py",

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread mostwanted
*THATS MY VIEW*{{extend 'layout.html'}} .classes { float: left; padding-left: 15px; font-weight: bold; } #container { display:block; overflow:auto; margin: 0 auto; width: 1200px; border: solid 1px #3399FF;

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread Jim S
Just the view, the .html file. -Jim On Tuesday, October 24, 2017 at 11:58:33 AM UTC-5, mostwanted wrote: > > By entire file you mean including the models and controllers? > > I am not getting any Traceback error, the results are just not displaying! > > On Tuesday, October 24, 2017 at 6:40:53 PM

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread mostwanted
By entire file you mean including the models and controllers? I am not getting any Traceback error, the results are just not displaying! On Tuesday, October 24, 2017 at 6:40:53 PM UTC+2, Jim S wrote: > > Do all of your conditional statements have the appropriate corresponding > {{pass}}

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread Jim S
Do all of your conditional statements have the appropriate corresponding {{pass}} statements? In the snippet you included I see 3 {{pass}} statements but only 2 conditional statements. Can you include the entire file? Also, are you getting a traceback error? -Jim On Tuesday, October 24,

[web2py] GETTING THE WRONG RESULTS

2017-10-24 Thread mostwanted
*Hi guys, I'm faced with a little problem, I'm developing a results management system for a school, in the report preparation page i want there to be displayed the student's percentage pass for a subject as well as their grade for that subject, now the problem is nothing gets when i write

[web2py] The ondelete in a grid seems do nothing...

2017-10-24 Thread J-Michel Angers
Hi, I manage a page with a sqlform ("Order") and a sqlform.grid ("Articles"). Test1 : On the grid, when I click on the button "Delete", this Article is removed from the grid ... on the screen. When I reload the order, I see the article again. Test2 : I add a line un my grid instruction, with an

Re: [web2py] Re: maybe too many db connections todb on pythonanywhere

2017-10-24 Thread Giles Thomas
Hi Manuele, PythonAnywhere dev here: there's no extra cost if you want to increase the maximum number of Postgres connections -- just follow the instructions on this help page: https://help.pythonanywhere.com/pages/PostgresConnections/. Don't forget to contact us once you've increased the

[web2py] Re: How to get rid if the /init/default/ in the URL?

2017-10-24 Thread Joe
Hi Dave, Thanks for your reply. No, I am not using this directory structure for source control reasons. I guess, I was a little bit confused when I initially set up the account. So, this is a mess. What would be the easiest way to fix this? I wonder if I have to start from scratch with the