[web2py] Re: Need help with student attendance app

2017-05-13 Thread Massimo Di Pierro
The model is ok except make attendance a boolean. Make a API to return all the attendance for the class. Make an API to post an attendance change. Use vue.js and axios.js to call the first API loop and display name and checkbox for each record in a tabular form. Use vue.js to trigget a call to the

[web2py] Re: Need help with student attendance app

2017-05-12 Thread Dave S
On Friday, May 12, 2017 at 11:59:43 AM UTC-7, Toe Khaing Oo wrote: > > It works on data parsing .. But I have some difficulties with this. There > are many students to update record into table. How can I insert one student > by one. > > Thanks for your help > It sounds like you want a table

[web2py] Re: Need help with student attendance app

2017-05-12 Thread Toe Khaing Oo
It works on data parsing .. But I have some difficulties with this. There are many students to update record into table. How can I insert one student by one. Thanks for your help On Saturday, May 6, 2017 at 6:03:07 PM UTC-7, pbreit wrote: > > I think you're on the right track. It's a personal

[web2py] Re: Need help with student attendance app

2017-05-06 Thread pbreit
I think you're on the right track. It's a personal thing but I like defining my tables in the singular (ie, class, student, attendence). As Donald indicated, your current model is best suited for each student only being in one class (which is fine for elementary school). It would work for stude

[web2py] Re: Need help with student attendance app

2017-05-05 Thread Donald McClymont
I am not sure about your data model as classes and students may well be a many to many relationship and you may be better with an intermediate table to support this. Current setup each student can only belong to a single class. With current setup there are still a number of ways that you could