[web2py] Re: Getting wrong Results with my grading system

2017-11-18 Thread mostwanted
I want grade 'A' to fall within a range of percentages, 'A' ranges from 80%(being the lowest) to 100%(being the highest), how do i reflect that here to get the system to grade properly?? On Saturday, November 18, 2017 at 11:05:02 AM UTC+2, Jose C wrote: > > Simple logic error... > > Your first

[web2py] Getting wrong Results with my grading system

2017-11-18 Thread mostwanted
I am getting wrong results with my grading system, i think this is more of a syntax problem, i just don't know where I'm mixing up things. My system is supposed to give students grades depending on what percentages they got but the grades do not correspond well with the percentages. I'm

[web2py] Re: Failing calculate the average

2017-11-15 Thread mostwanted
U were right man, i calculated my average right below the {{pass}} and now it is able to increment and do the average of course i changed the variables to total and average. Thanks alot Tony On Wednesday, November 15, 2017 at 5:36:19 PM UTC+2, Anthony wrote: > > {{ >> average=0for report in

[web2py] Failing calculate the average

2017-11-14 Thread mostwanted
i'm failing to calculate avarage on my web2py application But its supposed to be very simple, i have been able to calculate the percentages for all the marks now i want to add up all those percentages and divide them by the number of subjects, get the avarage percentage and grade a

[web2py] Getting wrong results for my modal window

2017-11-05 Thread mostwanted
Hi guys, what i want my code to do is to open a modal window everytime i click a link which is a name and that modal window should open with the details of that name but that is not happening!! Instead only one link which is the first link can open the modal window but with the wrong details,

[web2py] Re: name 'average' is not defined

2017-10-29 Thread mostwanted
A thanks Tony, it worked, i initialized the variable at the top On Monday, October 30, 2017 at 3:18:06 AM UTC+2, Anthony wrote: > > > > On Sunday, October 29, 2017 at 2:24:47 AM UTC-4, most

[web2py] name 'average' is not defined

2017-10-29 Thread mostwanted
*I AM TRYING TO CALCULATE THE AVARAGE IN AMY VIEW, I ADDED A VARIABLE CALLED average TO HOLD THE RESULTS OF THE AVAERAGE CALCULATIONS BUT I KEEP GETTING THIS ERROR: name 'average' is not definedI DONT UNDERSTAND WHAT I'M DOING

[web2py] Re: IntegrityError('FOREIGN KEY constraint failed',)

2017-10-25 Thread mostwanted
2017 at 9:55:28 AM UTC+2, mostwanted wrote: > > > > *WHEN I TRY ENTERING A STUDENT'S DETAILS AND SELECTING THEIR GUARDIAN AS > FROM THE DROP DOWN MENU AS REFERNCED I GET A FOREIGN CONSTRAINT FAILED > ERROR MESSAGEMY TABLES* > > db.define_table('guardian', >

[web2py] Re: IntegrityError('FOREIGN KEY constraint failed',)

2017-10-25 Thread mostwanted
for allowing me to figure this one out* On Wednesday, October 25, 2017 at 9:55:28 AM UTC+2, mostwanted wrote: > > > > *WHEN I TRY ENTERING A STUDENT'S DETAILS AND SELECTING THEIR GUARDIAN AS > FROM THE DROP DOWN MENU AS REFERNCED I GET A FOREIGN CONSTRAINT FAILED > ERRO

[web2py] IntegrityError('FOREIGN KEY constraint failed',)

2017-10-25 Thread mostwanted
ile', args=students.id))}} | {{=students.surname}} {{=students.name}} {{=students.class_name.class_name}} {{=students.guardian.guardian}} {{pass}} *MY TRACEBACK ERROR* FOREIGN KEY constraint failed Traceback (most recent call last): File "/home/mo

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread mostwanted
l 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 Tues

[web2py] Re: GETTING THE WRONG RESULTS

2017-10-24 Thread mostwanted
t; {{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, 2017 at 11:01:22 AM UTC-5, mostwanted wr

[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

Re: [web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-23 Thread mostwanted
://stu.id>* > form=SQLFORM(db.marks) > return locals(); > > 2017-10-22 8:59 GMT-03:00 mostwanted <godir...@gmail.com >: > >> Hi guys, i need help, I'm creating a simple results management system for >> a school and I've hit a stumbling block, what i wanna do

[web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-22 Thread mostwanted
Hi guys, i need help, I'm creating a simple results management system for a school and I've hit a stumbling block, what i wanna do is be able to open a form to make detail entries of a specific individual and this is how i want to do it, i wanna click on the specific individual's name and have

[web2py] Re: wrong home page presented

2017-07-18 Thread mostwanted
i dont understand how that could be possible but i'll look into it On Tuesday, July 18, 2017 at 6:15:10 PM UTC+2, Leonel Câmara wrote: > > It seems to me that you have 2 web2py applications in your pythonanywhere. > One that you defined as the default application, and the init application >

[web2py] Re: wrong home page presented

2017-07-18 Thread mostwanted
, 2017 at 5:45:25 PM UTC+2, mostwanted wrote: > > Not really, http://sesowa.pythonanywhere.com/ gives a page with the logo > in the top left corner and a search text field in the top right corner but > this URL http://sesowa.pythonanywhere.com/init/default/index > <http://www.goo

[web2py] Re: wrong home page presented

2017-07-18 Thread mostwanted
Not really, http://sesowa.pythonanywhere.com/ gives a page with the logo in the top left corner and a search text field in the top right corner but this URL http://sesowa.pythonanywhere.com/init/default/index

[web2py] Re: wrong home page presented

2017-07-18 Thread mostwanted
Yes i did On Tuesday, July 18, 2017 at 1:51:06 PM UTC+2, Marlysson Silva wrote: > > Do you clicked in "Reload webapp" in web tab view? > > Em terça-feira, 18 de julho de 2017 06:34:15 UTC-3, mostwanted escreveu: >> >> Guys i need help

[web2py] wrong home page presented

2017-07-18 Thread mostwanted
Guys i need help, i dont know what i'm doing wrong or if there is something wrong with my code, i hosted my application with pythonanywhere.com but when i go to the url *sesowa.pythonanywhere.com* i get the wrong home page where as it is this address

[web2py] Re: FOREIGN KEY constraint failed

2017-07-18 Thread mostwanted
. On Sunday, July 2, 2017 at 10:37:22 AM UTC+2, mostwanted wrote: > > Hi guys, i need help, i'm pulling my hairs out over here, i have a website > where when i'm trying to record an entry i get an error: > FOREIGN KEY constraint failed > > > I have been able to create 2 for

[web2py] Re: FOREIGN KEY constraint failed

2017-07-05 Thread mostwanted
creation of the table. > > A similar error ocurred to me and it was on the creation of the id's > references on the forange. But your code looks ok > > El lunes, 3 de julio de 2017, 15:50:45 (UTC-3), mostwanted escribió: >> >> this is the actual code Sant

[web2py] Re: FOREIGN KEY constraint failed

2017-07-03 Thread mostwanted
Field('formTitle',requires=IS_NOT_EMPTY()), > Field('formName', 'reference governmenttForm > '),migrate=False,fake_migrate=True) > > Best regards > > > El lunes, 3 de julio de 2017, 4:15:18 (UTC-3), mostwanted escribió: >> >> It is the actually code

[web2py] Re: FOREIGN KEY constraint failed

2017-07-03 Thread mostwanted
e name is spelled > "governmenttForm" (note the extra "t"), and for the field type, you have > "reference govmntForm". > > Anthony > > On Sunday, July 2, 2017 at 4:37:22 AM UTC-4, mostwanted wrote: >> >> Hi guys, i need help, i'm pulling

[web2py] FOREIGN KEY constraint failed

2017-07-02 Thread mostwanted
+timestamp.2016.05.10.00.21.47 Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File "/home/mostwanted/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/home/mostwanted/web2py/applicatio

[web2py] saving PDF documents in my database and displaying them

2017-06-28 Thread mostwanted
Hi guys can you please help me, i need assistance saving PDF documents in my database and displaying those PDF documents at the click of a link. Thank you -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Downloading and printing images a user is viewing on my website

2017-05-13 Thread mostwanted
Hi guys, how do i implement a method for printing and downloading current images a user is viewing on my website? I have a web2py project and want users to be able to either download images they are viewing and like or download them into an external device Thanks. -- Resources: -

[web2py] Re: Extracting values out of a python list as individual entities

2017-05-12 Thread mostwanted
ore > you need beyond the answer you accepted on Stack Overflow: > <a rel="nofollow" href="http://stackoverflow.com/a/43682846/440323">http://stackoverflow.com/a/43682846/440323</a>. > > Anthony > > On Thursday, May 11, 2017 at 6:51:34 AM UT

[web2py] Extracting values out of a python list as individual entities

2017-05-11 Thread mostwanted
Please someone out there coz I'm pulling out my hairs at this point: I want to extract pictures from within a list of elements extracted from the database and store them inside a JavaScript array for a slide show. *CONTRLOLLER* def form1Details(): form=db.compForm(request.args(0))

[web2py] selecting python list elemnts without searching

2017-05-11 Thread mostwanted
Please someone out there coz I'm pulling out my hairs at this point: I want to extract pictures from within a list of elements extracted from the database and store them inside a JavaScript array for a slide show. *CONTRLOLLER* def form1Details(): form=db.compForm(request.args(0))

[web2py] Getting different home pages for my App on python anywhere!!!

2017-05-09 Thread mostwanted
Hi guys, i developed an APP in web2py and hosted it with python anywhere, now when i go to the URL i seem to be getting 2 different home pages for my sesowa App.* http://sesowa.pythonanywhere.com/ * URL is giving a different page and the

[web2py] Turning a web2py App in to an installable stand alone desktop App

2017-05-06 Thread mostwanted
Hi guys, how can I make a web2py App into an installable desktop stand alone App? -- 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 Issues) --- You received this

<    1   2   3   4   5