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
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
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
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
type 'exceptions.RuntimeError' Unable to handle upload
but with the
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:
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
--
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
--
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 :
thank you guys ... so the set of characters only ( exclusively ) need to
be referred to as : [A-Za-z]
perfect ... thank you again.
--
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 ..
thank you Bruno for the update ! .. I will look it up shortly.
--
Indeed ! ... Bruno is tha Man !
--
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
, 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
--
modifiant sa
maniére de penser.''
--
Le Don X
--
15 matches
Mail list logo