Re: [web2py] Re: About crud.update to edit or update a user's profile info !

2012-12-01 Thread Le Don X
thank you for the response Massimo, I do agree with your thoughts regarding the vulnerability exposed upon a new registration ! that can easily be arranged by adding an additional table to manage all users profile pics ! ... that way, a user can only upload his avatar ( or picture ) only when the

Re: [web2py] I am looking for specifics : how to db.define_table in sub directories in the MODELS directory !

2012-10-19 Thread Le Don X
Definitely clearer ! ... Thanks a bunch guys ! ... in conclusion : whenever one decides to do the conditional model approach for performance concerns or else ... database tables better be defined first ! even more so if there are reference fields in the tables involved! in which case a table cr

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-05 Thread Le Don X
After a night sleep ... I woke up ... read the code again .. and bingo .. no errors .. it is almost fixed with this : > ... > if isinstance(fields,tuple): > mytables = ['auth_user','user_info'] > form_fields = [] > [form_fields.extend([db[t][f] for f in db[t].f

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-03 Thread Le Don X
Here is another controller I tried, and I still get the same results ( no data is recorder in the tables, no errors or ticket given ) and on the last submit button .. nothing happens : def register(): >import os >STEPS = {0: > ('Iagreeto','first_name','last_name','email','email_ch

Re: [web2py] formwizard with 2 tables : - not working ! .. please help !

2012-10-03 Thread Le Don X
Actually, when the tables are used by themselves ! with a simple controller The first one ( auth_user ) works perfectly ... datas are recorded but the second one ( user_info ) gives me a clear error on 2.0.9 stable version Unable to handle upload but with the codes of the controller shown abov

Re: [web2py] Re: extra_field in auth_user problem !

2012-09-30 Thread Le Don X
ble = True > form = SQLFORM(db.auth_user) > ... > > > -- William James nous dit : '' La plus grande découverte de ma génération est que l'être humain peut transformer sa vie simplement en modifiant sa maniére de penser.'' -- Le Don X --

Re: [web2py] Re: I cannot make ".../[app]/default/user/register " to behave differently !!!

2012-09-27 Thread Le Don X
-- William James nous dit : '' La plus grande découverte de ma génération est que l'être humain peut transformer sa vie simplement en modifiant sa maniére de penser.'' -- Le Don X --

Re: [web2py] Re: Problems with a validation procedure ? - a Canadian postal code !

2012-09-26 Thread Le Don X
don't be sorry for jumping in it is appreciated ! .. and refreshing to noticed that there are canadian folks like me on here ! to resume ... from all the responses received - the best canadian postal code validation is actually the one submitted by Adnan : this one : ^[ABCEGHJKLMNPRSTVXY]{1

Re: [web2py] Re: Problems with a validation procedure ? - a Canadian postal code !

2012-09-25 Thread Le Don X
thank you guys ... so the set of characters only ( exclusively ) need to be referred to as : [A-Za-z] perfect ... thank you again. --

Re: [web2py] Question about the necessity to have 2 auth_user tables in a web2py app.... ?

2012-09-14 Thread Le Don X
Richard ... Villas ... thank you both for your insights ... for now .. I will go on ... and will try to figure it out as I go along ... I will probably end up trying both approach and see / compare etc .. I foresee issues of various bottlenecks in an app like this .. so .. ... lately ..

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-09 Thread Le Don X
thank you Bruno for the update ! .. I will look it up shortly. --

Re: [web2py] Re: Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-09-04 Thread Le Don X
Indeed ! ... Bruno is tha Man ! --

Re: [web2py] Is 2.0.2 or 2.0.3 really a stable version?

2012-08-31 Thread Le Don X
Well .. so far all the mini apps I have done on web2py 1.99.7 are working fine with 2.02+ ... I have not found any issues yet ! ... except for that upgrade button on 1.99.7 that is not working on any platform or browser !! ( well .. maybe with a mac platform ! - I did not test it on a mac )

Re: [web2py] Short way to update or insert data from SQLFORM.factory into the main db.my_table ??? ...

2012-06-26 Thread Le Don X
So, if you pass form.vars to > it, it will remove any items that don't belong to the db.auth_user table > (in this case, the email_check variable). > > Anthony > > > -- > > > > -- William James nous dit : '' La plus grande découverte de ma génération est que l'être humain peut transformer sa vie simplement en modifiant sa maniére de penser.'' -- Le Don X --

Re: [web2py] Re: Question about a complex model & the associated form ( from controller to view )

2012-06-20 Thread Le Don X
>> the next steps ( and certain fields ) to be shown will not be the same >>> ... so .. I definitely need to create separate table for each user type >>> ... what if a specific user type ( such as a club and a league) >>> actually needs its own database instead of a table in my main database ! >>> ??? how do I approach this in the model and consequently in the controller >>> to the view ??? >>> To put it in context : a player or ref or coach is a user, ( simple ) >>> ... and most club owners and persons will be the same basic auth_user ! but >>> on the other hand ... >>> a team is a list of registered users >>> a club is a list of teams and users ( that >>> are not teams ) >>> a league is a list of clubs and users ( >>> that are not clubs, like volunteers, workers, etc.. ) >>> >>> Am i approaching this the right way ??? ... >>> >>> please advise >>> >>> thank you >> >> -- William James nous dit : '' La plus grande découverte de ma génération est que l'être humain peut transformer sa vie simplement en modifiant sa maniére de penser.'' -- Le Don X --